PRB: Missing Window Buttons if Form ControlBox Property FalseLast reviewed: November 27, 1996Article ID: Q159907 |
The information in this article applies to:
SYMPTOMSWhen 32-bit Visual Basic 4.0 applications run on Windows 95 and Windows NT 4.0, the three Window buttons in the upper-right corner of a form (Minimize, Maximize, and Close) disappear if the ControlBox property of that form is set to False. In 16-bit Visual Basic 4.0 applications, the Close Window button is disabled and the Minimize and Maximize Window buttons remain visible and enabled. The difference between 32-bit and 16-bit Visual Basic applications is not observed on Windows NT 3.51 because it has a different user interface.
CAUSEThe difference described above is by design. The user-interface specifications for Windows 95 and Windows NT 4.0 enforce different UI behaviors for 32-bit applications versus 16-bit applications.
WORKAROUNDTo keep the Minimize and Maximize buttons visible and enabled while disabling the Close button, follow these steps:
|
KBCategory: kbprg kbprb
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |