Microsoft KB Archive/147736

= BUG: Dialog Previewer May Incorrectly Draw Caption on Dialogs =

Article ID: 147736

Article Last Modified on 12/9/2003

-

APPLIES TO


 * Microsoft Visual C++ 4.2 Enterprise Edition
 * Microsoft Visual C++ 5.0 Learning Edition
 * Microsoft Visual C++ 5.0 Learning Edition
 * Microsoft Visual C++ 4.0 Professional Edition
 * Microsoft Visual C++ 4.1 Subscription
 * Microsoft Visual C++ 4.2 Professional Edition

-



This article was previously published under Q147736



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.



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.

Keywords: kbbug kbide KB147736

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.