How to add control bars to dialog boxes in MFC (141751)
The information in this article applies to:
- The Microsoft Foundation Classes (MFC), when used with:
- Microsoft Visual C++, 32-bit Editions 4.0
- Microsoft Visual C++, 32-bit Editions 4.1
- Microsoft Visual C++, 32-bit Enterprise Edition 4.2
- Microsoft Visual C++, 32-bit Enterprise Edition 5.0
- Microsoft Visual C++, 32-bit Enterprise Edition 6.0
- Microsoft Visual C++, 32-bit Professional Edition 4.2
- Microsoft Visual C++, 32-bit Professional Edition 5.0
- Microsoft Visual C++, 32-bit Professional Edition 6.0
- Microsoft Visual C++, 32-bit Learning Edition 6.0
This article was previously published under Q141751 This is the 32-bit version of this sample. 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 box-based user interface is
sufficient. MFC does not provide built-in support for adding control bars to
dialog boxes. DLGCBR32 is a sample application that demonstrates how
to add a status bar and toolbar to a dialog box. In addition, it demonstrates a
number of techniques related to using a modeless dialog box as the main window
of an MFC application.
The following
files are available for download from the Microsoft Download
Center: Visual C++ 6.0 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.
Visual C++ .NET
Release Date: July 2, 2002
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.
Modification Type: | Major | Last Reviewed: | 6/6/2005 |
---|
Keywords: | kbhowto kbdownload kbcode kbDlg kbfile kbMFCCtrlBar kbSample KbUIDesign KB141751 kbAudDeveloper |
---|
|