‹#›
© 2007 Citrix Systems, Inc.—All rights reserved
Adobe Systems
Intro: Messages
•Message ID (WM_xxx, EM_xxx, LB_xxx, …)
•2 parameters (wParam and lParam)
•
•Example (from MSDN): WM_LBUTTONDOWN
•
•wParam
•
•MK_CONTROL The CTRL key is down.
•MK_LBUTTON    The left mouse button is down.
•MK_MBUTTON    The middle mouse button is down.
•MK_RBUTTON    The right mouse button is down.
•MK_SHIFT           The SHIFT key is down.
•
•lParam
•
•The low-order word specifies the x-coordinate of the cursor. The coordinate is relative to the upper-left corner of the client area.
•The high-order word specifies the y-coordinate of the cursor. The coordinate is relative to the upper-left corner of the client area.
•
•Note: MessageHistory unpacks parameters for some messages like keyboard and mouse and shows them in user-friendly manner
•