I want to show my custom control(eg: monthcalendar) as a drop-down (popup) window. One option is to use ToolStripDropDown and ToolStripControlHost as the second example in msdn sample.

Is it recommended to use ToolStripDropDown for controls other than the ToolStrip items ?

Recommended Answers

All 2 Replies

Your monthcalendar would be a ToolStrip item like any other I guess.

Unfortunately my custom control is not a ToolStrip item. It is of type System.Windows.Forms.Control. Thats why I am asking.

Basically, ToolStripDropDown suits my requirement and works fine. But my doubt is, is it a good or suggested way to show custom control as a drop down window?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.