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.
Determines whether a shortcut key has been defined in the CMFCAcceleratorKeyAssignCtrl object.
BOOL IsKeyDefined() const;
Return Value
Nonzero if the user has already pressed a valid combination of keys that define a shortcut key; otherwise 0.
Remarks
Use this function to determine whether the user entered a valid shortcut key in your CMFCAcceleratorKeyAssignCtrl object. If a shortcut key exists, you can use CMFCAcceleratorKeyAssignCtrl::GetAccel method to obtain the ACCEL structure associated with this shortcut key.
Requirements
**Header:**afxacceleratorkeyassignctrl.h