Hi,

i have written a custom component that derives from
System.ComponentModel.Component.

It gets added to the toolbox correctly but I want it
to only be droppable on Forms, not on UserControls etc.

When a Form is currently displayed, the component should
be enabled in the toolbox, otherwise not.
Like the MainMenu component toolbox item does. It is
disabled when a UserControl is in design mode.

How do I get the same effect?

TIA

Martin