TBN_WRAPACCELERATOR notification code
Requests the index of the button in one or more toolbars corresponding to the specified accelerator character. This notification code is sent in the form of a WM_NOTIFY message.
TBN_WRAPACCELERATOR
lpnmtb = (NMTBWRAPACCELERATOR) lParam;
-
lParam
-
A pointer to a structure that contains the accelerator key character, and that receives the index of the corresponding button. The index is -1 if the accelerator does not correspond to a command.
TRUE if an index is returned, otherwise FALSE.
Applications with one or more toolbars may receive this notification code.
The NMTBWRAPACCELERATOR structure must be defined by the application as follows:
typedef struct tagNMTBWRAPACCELERATOR {
NMHDR hdr;
UINT ch;
int iButton;
} NMTBWRAPACCELERATOR, *LPNMTBWRAPACCELERATOR;
Requirement | Value |
---|---|
Minimum supported client |
Windows Vista [desktop apps only] |
Minimum supported server |
Windows Server 2003 [desktop apps only] |
Header |
|