How to use accelerator keys within a modal dialog box in Visual C++ (222829)
The information in this article applies to:
- The Microsoft Foundation Classes (MFC), when used with:
- 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
- Microsoft Visual C++ .NET (2002)
- Microsoft Visual C++ .NET (2003)
This article was previously published under Q222829 Note Microsoft Visual C++ .NET (2002) supports both the managed code
model that is provided by the Microsoft .NET Framework and the unmanaged native
Microsoft Windows code model. The information in this article applies only to
unmanaged Visual C++ code. SUMMARY Accelerator keys are a common User Interface feature of
Windows applications; therefore, why limit them to just the application? This
article shows how to add accelerator key functionality to any modal dialog box.
REFERENCES For additional information about accelerator key processing
within modal dialog boxes, please see the following article in the Microsoft
Knowledge Base: 100770 INFO: Using Accelerator Keys with Modal Dialog Box Main Window
Modification Type: | Major | Last Reviewed: | 9/2/2005 |
---|
Keywords: | kbAcceleratorKey kbhowto kbKeyAccel KbUIDesign KB222829 kbAudDeveloper |
---|
|