Looks for the default accelerator key for the specified command and frame window.
- Returns
- Nonzero if the accelerator is found; otherwise 0;
If the accelerator key is found, the str parameter is filled by the text that represents this accelerator (for example, "Ctrl+S").
- Parameters
-
uiCmd | Specifies the command ID. |
str | A reference to CString object that receives a text that represents the accelerator. |
pWndFrame | A pointer to a frame window. |
bIsDefaultFrame | Specifies whether the frame window is the default frame window. |
lpAccelOut | [Optional] Returns a pointer to accelerator. |