COMMANDMSG (1.2)
◄Up► ◄Next► ◄Previous►
────────────────────────────────────────────────────────────────────────────
COMMANDMSG(pmsg)
The COMMANDMSG macro retrieves information that is passed in the parameters
of the WM_COMMAND, WM_HELP, and WM_SYSCOMMAND messages. This macro defines a
COMMANDMSG structure pointer, which has the following form:
struct _COMMANDMSG {
USHORT source; /* mp2 */
BOOL fMouse;
USHORT cmd; /* mp1 */
USHORT unused;
};
Parameter Description
────────────────────────────────────────────────────────────────────────────
pmsg Points to the message received by the application's window
procedure.
See Also
WM_COMMAND, WM_HELP, WM_SYSCOMMAND, COMMANDMSG
♦