BUG: Dialog Previewer May Incorrectly Draw Caption on Dialogs

ID: Q147736


The information in this article applies to:
  • The Development Environment, used 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.


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 query words:

Keywords : kbide kbResourceEd kbVC kbVC400bug kbVC410bug kbVC420bug kbGrpDSTools
Version : winnt:
Platform : winnt
Issue type :


Last Reviewed: January 25, 2000
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.