The information in this article applies to:
SUMMARY
To create a Microsoft Visual Basic for Windows form with a border but
with no title bar, the Caption property of a form must be set to a
zero-length string; the BorderStyle property must be set to Fixed
Single (1), Sizable (2) or Fixed Double; and the ControlBox, MaxButton
and MinButton properties must be set to False (0). If any text (including
spaces) exists for the Caption property or if the ControlBox, MaxButton,
or MinButton property is set to True, a title bar will appear on the form. MORE INFORMATIONEven with the ControlBox, MaxButton, and MinButton properties of a form set to False (0) and the BorderStyle set to Fixed Single (1), Sizable (2) or Fixed Double (3), the form will still have a title bar unless the Caption property is set to null. Setting the Caption to blanks will leave a title bar with no title. Steps to Reproduce Behavior
Additional query words: 2.00 3.00
Keywords : |
Last Reviewed: August 31, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |