Jump to content

WM TRANSLATEACCEL

From EDM2

This message is sent to the focus window whenever a WM_CHAR message occurs.

Syntax

param1
    PQMSG pqmsg;     /* Pointer to a QMSG structure. */

param2
    ULONG ulReserved; /* Reserved value, should be 0. */

Parameters

pqmsg (PQMSG) - input
Pointer to a QMSG structure.
ulReserved (ULONG) - input
Reserved value, should be 0.

Returns

rc (BOOL) - returns
Translated indicator.
TRUE: The character exists in the accelerator table and has been translated in the QMSG structure.
FALSE: The character does not exist in the accelerator table or the window does not have an accelerator table.

Remarks

Normally, this message is not processed by the focus window, but is passed to its parent, which passes it to its parent, until a frame window is reached.

in Frame Controls

The frame control window procedure processes the message by checking whether the character is in the accelerator table, by using the WinTranslateAccel function.

Default Processing

The default window procedure takes no action on this message, other than to set rc to FALSE.

Related Messages

  • WM_TRANSLATEACCEL (in Frame Controls)