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.
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
♦