msgs12.hlp (Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
WM_TRANSLATEACCEL (1.2)
Message Group  Overview                           Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
#define INCL_WINFRAMEMGR
 
WM_TRANSLATEACCEL
pqmsg = (PQMSG) PVOIDFROMMP(mp1);    /* pointer to QMSG structure */
 
The WM_TRANSLATEACCEL message is sent to the focus window whenever a
WM_CHAR message is obtained, to allow for any accelerator translation of the
WM_CHAR message. The default window procedure handles this message by
calling the WinTranslateAccel function.
 
Parameter  Description
────────────────────────────────────────────────────────────────────────────
 
pqmsg      Low and high word of mp1. Points to a QMSG structure that
           contains a queue message.
 
Return Value
 
An application should return TRUE if the queue message has been translated.
Otherwise, is should return FALSE.
 
See Also
 
WinTranslateAccel, WM_CHAR, WM_COMMAND, WM_HELP, WM_NULL, WM_SYSCOMMAND,
QMSG