1

The MSDN page for the ShowWithoutActivation method - here - on a Form state that ToolStripItems are windowless.

What does it mean for a control to be windowless? What purpose do they serve? How can I make my own Windowless controls?

Anthony
  • 9,451
  • 9
  • 45
  • 72

1 Answers1

2

In underlying Windows architecture, a Control is basically a borderless Window. They are 90% the same thing.

A ToolStripItem, on the other hand, does not derive from Control. It does not draw itself, it does not have a Window handle or a message queue. A ToolStripItem is just a class that functions as an organizational extension of the ToolStrip. The ToolStrip forwards many messages and events to the ToolStripItems.

The purpose of this is to improve performance and allow better transparency.

Trevor Elliott
  • 11,292
  • 11
  • 63
  • 102