Jump to content

WM MATCHMNEMONIC

From EDM2
Revision as of 23:28, 13 April 2025 by Martini (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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)