TBN_DUPACCELERATOR notification code
Ascertains whether an accelerator key can be used on two or more active toolbars. This notification code is sent in the form of a WM_NOTIFY message.
TBN_DUPACCELERATOR
lpnmtb = (NMTBDUPACCELERATOR) lParam;
-
lParam
-
A pointer to a structure that provides an accelerator and that receives a value specifying whether multiple toolbars respond to the same character.
Returns TRUE if successful, otherwise FALSE.
The application must declare the NMTBDUPACCELERATOR structure as follows:
typedef struct tagNMTBDUPACCELERATOR
{
NMHDR hdr;
UINT ch; // The accelerator.
BOOL fDup; // TRUE if multiple toolbars respond to the accelerator.
} NMTBDUPACCELERATOR, *LPNMTBDUPACCELERATOR;
Requirement | Value |
---|---|
Minimum supported client |
Windows Vista [desktop apps only] |
Minimum supported server |
Windows Server 2003 [desktop apps only] |
Header |
|