The information in this article applies to:
SUMMARYVisual Basic 6.0 introduces the capability of creating "Windowless" controls. A Windowless control, also known as a "lightweight" control, is a control that does not have a WndProc function for message handling. These lightweight controls require fewer resources than normal controls, and allow for development of transparent controls. This sample demonstrates how to create windowless controls in Visual Basic 6.0. MORE INFORMATIONThe following file is available for download from the Microsoft
Download Center. Click the file name below to download the file: Vb6wlc~1.exeFor more information about how to download files from the Microsoft Download Center, please visit the Download Center at the following Web address http://www.microsoft.com/downloads/search.aspand then click How to use the Microsoft Download Center. Below is the content of the Readme.txt for this sample. DescriptionVisual Basic 6.0 provides the capability of building Windowless controls, also known as lightweight controls. A new property of the UserControl, Windowless, enables this feature. Setting the Windowless property to True will make the UserControl Windowless, a control which sends and receives messages through OLE rather than the regular messaging queues that Windows uses.A Windowless control behaves the same as the normal UserControls with the following exceptions:
Summary Of Sample ControlsFour Windowless Controls are included in the sample to show different Functionality:
To StartBefore loading this sample into Visual Basic 6.0, the following steps need to be taken:
REFERENCESFor more information about lightweight controls in Visual Basic, please see the following articles in the Microsoft Knowledge Base: Q184687 : INFO: Lightweight Controls in Visual Basic 6.0 Additional query words:
windowless kbDSupport kbVBp600 kbCtrl kbOLE kbReadme kbRegistry kbdss kbVBp
Keywords : kbGrpVB |
Last Reviewed: January 5, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |