SAMPLE: Switching Between Accelerator Tables in an ApplicationLast reviewed: February 15, 1996Article ID: Q80887 |
The information in this article applies to:
In some cases, it is useful to change the accelerator keys that are assigned to menu items in an application. CHGACCL is a sample in the Microsoft Software Library that demonstrates changing the accelerators by loading a different accelerator table from the RC file and modifying the text of menu items. Download CHGACCL.EXE, a self-extracting file, from the Microsoft Software Library (MSL) on the following services:
DYNACCEL is a second sample in the Microsoft Software Library that demonstrates building an accelerator table as part of an application. Download DYNACCEL.EXE, a self-extracting file, from the Microsoft Software Library (MSL) on the following services:
CHGACCL also uses specific GDI functions to properly draw shapes in the client area of the window. Each time the user chooses a new shape from the menu, the client area device context is reset to properly define the window's background color, pen color, mapping mode, and compression factors.
|
Additional reference words: 3.00 3.10 softlib CHGACCL.EXE
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |