DOCUMENT:Q188234 28-AUG-1998 [vbwin] TITLE :PRB: Cannot Move Windowless Controls on Form PRODUCT :Microsoft Visual Basic for Windows PROD/VER:WINDOWS:6.0 OPER/SYS:WINDOWS KEYWORDS: ====================================================================== --------------------------------------------------------------------- The information in this article applies to: - Microsoft Visual Basic Professional and Enterprise Editions for Windows, version 6.0 --------------------------------------------------------------------- SYMPTOMS ======== If a Windowless UserControl has its Backstyle Property set to 0 - Transparent, it will not be possible to move the control once it has been sited upon a form. STATUS ====== Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available. MORE INFORMATION ================ Steps to Reproduce Problem -------------------------- 1. Start a new ActiveX Control project in Visual Basic. Form1 is created by default. 2. Set the following properties on the UserControl1 Object: Windowless = True BackStyle = Transparent 3. Add a Label to the UserControl1 Container object. 4. Make the OCX (Project1.Ocx). 5. Start a new Standard EXE Project in Visual Basic. Form1 is created by default. 6. Select Components from the Project menu and select Project1. 7. When the test ActiveX UserControl is in the Toolbox, double-click its icon to site the control on the default form (Form1). 8. Once the control is on the form, try to move it with the mouse. Additional query words: kbDSupport kbbeta kbVBp600 kbCtrl kbdss kbVBp ====================================================================== Version : WINDOWS:6.0 Platform : WINDOWS Issue type : kbprb ============================================================================= THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY. Copyright Microsoft Corporation 1998.