Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Sets the shortcut key for the CMFCAcceleratorKey object.
void SetAccelerator(
LPACCEL lpAccel
);
Parameters
- [in] lpAccel
A pointer to a shortcut key.
Remarks
Use this method to set the shortcut key for a CMFCAcceleratorKey if you did not provide a shortcut key when you created the CMFCAcceleratorKey.
Requirements
Header: afxacceleratorkey.h