PRB: Form Is Movable When Maximized

ID: Q180772


The information in this article applies to:
  • Microsoft Windows CE Toolkit for Visual Basic 6.0
  • Microsoft Windows CE Toolkit for Visual Basic 5.0


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.

© Microsoft Corporation 1998, All Rights Reserved.
Contributions by Mike Dixon, Microsoft Corporation

Additional query words: vbce vbce5 vbce6 wince wce

Keywords : kbToolkit kbVBp500 kbVBp600 kbWinCE100 kbGrpVB
Version : WINDOWS:
Platform : WINDOWS
Issue type : kbprb


Last Reviewed: March 12, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.