BUG: Dialog Previewer May Incorrectly Draw Caption on Dialogs

Last reviewed: July 22, 1996
Article ID: Q147736
The information in this article applies to:
  • The development environment included with: Microsoft Visual C++, 32-bit Edition, versions 4.0, 4.1, 4.2

SYMPTOMS

The preview window in the Dialog Properties dialog box incorrectly displays a caption on dialogs that do not set the WS_CAPTION and WS_SYSMENU styles. This occurs only when the dialog also has a border style of THIN.

STATUS

Microsoft has confirmed this to be a bug 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.

MORE INFORMATION

Steps to Reproduce Problem

  1. Create a dialog resource with Developer Studio.

  2. Double-click the dialog resource, and remove the Titlebar and System Menu settings from the Styles tab in the Dialog Properties dialog.

  3. Under the Styles tab, change the Border to Thin.

  4. Switch the Workspace window to the ResourceView pane.

  5. Right-click the dialog's id, listed in the ResourceView.

  6. Choose Properties from the Context menu. Note that the dialog displayed in the preview window of the Properties dialog, is drawn with a caption.

NOTE: When the dialog is invoked in the test mode (CTRL+T), the dialog is correctly displayed without a caption.


Additional reference words: 4.00 4.10 4.20 vcbuglist400 Windows 95
KBCategory: kbtool kbbuglist
KBSubcategory: VWBIss AppStudioIss


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: July 22, 1996
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.