Microsoft KB Archive/180772

= PRB: Form Is Movable When Maximized =

Article ID: 180772

Article Last Modified on 3/11/2005

-

APPLIES TO


 * Microsoft Windows CE Toolkit for Visual Basic 6.0
 * Microsoft eMbedded Visual Basic 3.0

-



This article was previously published under Q180772



SYMPTOMS
When you set the WindowState property of a form to "2 - Maximized," you can move the form by clicking on the titlebar and dragging it.



RESOLUTION
The standard for Windows CE applications is to have no titlebar on maximized forms. To do this, set the BorderStyle property of the Form to "0 - None" and the Windowstate property to "2 - Maximized." Be sure to include a button, menu, or some other means of closing the form (for example, using the Hide method or the App.End method).



STATUS
This behavior is by design.

Additional query words: vbce vbce6 wince wce evb

Keywords: kbtoolkit kbprb kbpending KB180772

-

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

© Microsoft Corporation. All rights reserved.