In my opinion, windowless controls are good when you just need to display
something, they are not designed for complex interaction. They have been
probably introduced in the ActiveX specification to prevent IE (the
container) from consuming too much 'User' resources by creating a window for
each ActiveX control hosted on a page.
I suppose event handling is painful for such controls, and that's why they
haven't been included to Windows Forms. Windowless ActiveX's are also
supported by selected ActiveX containers only. As Windows Forms are about
Windows programming first, not about Internet programming as the ActiveX
technology is, it's probably the main reason.
Another reason I can think of is more technical - the underlying Windows
Forms architecture could become very complicated if it were to support
windowless controls.
--
Dmitriy Lapshin [C# / .NET MVP]
X-Unity Test Studio
http://www.x-unity.net/teststudio.aspx
Bring the power of unit testing to VS .NET IDE
Mahantesh said:
Hi..
I am trying out windowless controls in .Net windows forms. Is this
feasible idea and there is peformance gain. I don't understand why windows
forms does not support windowless controls.