Adding Control Bars to Foundation Classes Dialogs (123158)
The information in this article applies to:
- The Microsoft Foundation Classes (MFC), when used with:
- Microsoft Visual C++ for Windows, 16-bit edition 1.0
- Microsoft Visual C++ for Windows, 16-bit edition 1.5
- Microsoft Visual C++ for Windows, 16-bit edition 1.51
- Microsoft Visual C++, 32-bit Editions 2.0
This article was previously published under Q123158 SUMMARY In a Microsoft Foundation Classes (MFC) application, you
can attach control bars such as status bars and toolbars to a frame window.
However, for many applications a simple dialog-based user interface is
sufficient. MFC does not provide built-in support for adding control bars to
dialogs. DLGCBR is a sample application that demonstrates how to add
a status bar and toolbar to a dialog. In addition, it demonstrates a number of
techniques related to using a modeless dialog as the main window of an MFC
application. The following files are available for download from the Microsoft
Download Center: Dlgcbr.exe For additional information about how
to download Microsoft Support files, click the following article number to view
the article in the Microsoft Knowledge Base: 119591 How to Obtain Microsoft Support Files from Online Services
Microsoft scanned this file for viruses. Microsoft used the most
current virus-detection software that was available on the date that the file
was posted. The file is stored on security-enhanced servers that help to
prevent any unauthorized changes to the file.
For additional information on Visual C++ versions 4.0 and
greater, please see the following article in the Microsoft Knowledge Base: 141751
Adding Control Bars to Dialog Boxes in MFC
Modification Type: | Minor | Last Reviewed: | 8/5/2004 |
---|
Keywords: | kbdownload kbFAQ kbfile kbProgramming kbSample kbToolbar KbUIDesign KB123158 kbAudDeveloper |
---|
|