Groups | Blog | Home
all groups > dotnet windows forms > march 2004 >

dotnet windows forms : Is windowless controls in windows a feasible idea



Mahantesh
3/23/2004 11:51:06 PM
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
hirf-spam-me-here NO[at]SPAM gmx.at
3/24/2004 12:29:13 PM
* =?Utf-8?B?TWFoYW50ZXNo?= <anonymous@discussions.microsoft.com> scripsit:
[quoted text, click to view]

AFAIR they will be included in a future version of .NET.

--
Herfried K. Wagner [MVP]
Dmitriy Lapshin [C# / .NET MVP]
3/24/2004 12:33:21 PM
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

[quoted text, click to view]
feasible idea and there is peformance gain. I don't understand why windows
forms does not support windowless controls.
[quoted text, click to view]
AddThis Social Bookmark Button