Welcome to MSDN Blogs Sign in | Join | Help

Sara Ford's Weblog

My adventures embracing open source on CodePlex and at Microsoft

News

    • Did you know... All author proceeds go directly to sending Hurricane Katrina survivors to college.

      Microsoft Visual Studio Tips book

      Recent Entries

Did you know... You can do a "show all" to find your "hiding" toolbox controls - #190

Today's tip comes directly from the developer who works on the toolbox.  He told me he sees a lot of questions where people are trying to figure out why a particular control isn't there, especially when they've just recently added controls.  (For example, you may go to Toolbox Context Menu - Choose Items, then browse for a particular .dll and add registered controls.)  but then you might not be able to find it!

What happens is that all the controls in the toolbox are managed by the active designer.  A designer is like an editor, where it takes up the same region of space in VS, but allows you to design UI rather than write code.  Hence the "[design]" in the tab.  So, if the currently-active designer doesn't support that control, you won't see it when you add it to the toolbox. 

 Toolbox Show All command on context menu

By doing the "Show All" you can at least verify that your control got added.  Now, how to get it active depends on the control and which designer is needed.

Below shows just how many controls are now visible, yet disabled.  Notice the scrollbar position on the right.

ToolboxShowAll2

Technorati Tags: ,
Posted: Wednesday, April 09, 2008 3:00 AM by saraford

Comments

Visual Studio 2008 ワンポイント said:

今日のヒントは、ツールボックスを担当している開発者から直接聞いたものです。 彼は、特にコントロールを追加したすぐ後など、その特定のコントロールが表示されないのはなぜなのかという質問をよく受けるそうです

# August 8, 2008 2:12 AM
New Comments to this post are disabled
Page view tracker