WM MATCHMNEMONIC: Difference between revisions
Appearance
Created page with "This message is sent by the dialog box to a control window to determine whether a typed character matches a mnemonic in its window text. ==Syntax== <pre> param1 USHORT usmatch; →Match character.: param2 ULONG ulReserved; →Reserved value, should be 0.: </pre> ==Parameters== ;''usmatch'' (USHORT) - input: Match character. ;''ulReserved'' (ULONG) - input: Reserved value, should be 0. ==Returns== ;''rc'' (BOOL) - returns: Match indicator. :TRUE: Mne..." |
(No difference)
|
Revision as of 22:28, 13 April 2025
This message is sent by the dialog box to a control window to determine whether a typed character matches a mnemonic in its window text.
Syntax
param1
USHORT usmatch; /* Match character. */
param2
ULONG ulReserved; /* Reserved value, should be 0. */
Parameters
- usmatch (USHORT) - input
- Match character.
- ulReserved (ULONG) - input
- Reserved value, should be 0.
Returns
- rc (BOOL) - returns
- Match indicator.
- TRUE: Mnemonic found
- FALSE: Mnemonic not found, or an error occurred.
Default Processing
The default dialog procedure takes no action on this message, other than to set rc to FALSE.
Related Messages
- WM_MATCHMNEMONIC (in Button Controls)
- WM_MATCHMNEMONIC (Default Dialogs)
- WM_MATCHMNEMONIC (in Static Controls)