Microsoft KB Archive/188234

= PRB: Cannot Move Windowless Controls on Form =

Article ID: 188234

Article Last Modified on 1/9/2003

-

APPLIES TO


 * Microsoft Visual Basic 6.0 Professional Edition
 * Microsoft Visual Basic 6.0 Enterprise Edition

-



This article was previously published under Q188234



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.



Steps to Reproduce Problem
 Start a new ActiveX Control project in Visual Basic. Form1 is created by default.  Set the following properties on the UserControl1 Object: Windowless = True BackStyle = Transparent  Add a Label to the UserControl1 Container object. Make the OCX (Project1.Ocx). Start a new Standard EXE Project in Visual Basic. Form1 is created by default. Select Components from the Project menu and select Project1.</li> When the test ActiveX UserControl is in the Toolbox, double-click its icon to site the control on the default form (Form1).</li> Once the control is on the form, try to move it with the mouse.</li></ol>

Additional query words: kbDSupport kbVBp600 kbCtrl kbdss kbVBp kbCtrl

Keywords: kbprb KB188234

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.