Changeset 9601 for trunk/src/user32/menu.c
- Timestamp:
- Jan 3, 2003, 6:20:04 PM (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/menu.c
r9599 r9601 2827 2827 { 2828 2828 /* 2829 * Use the mouse coordinates in lParam instead of those in the MSG 2830 * struct to properly handle synthetic messages. They are already 2831 * in screen coordinates. 2829 * use the mouse coordinates in lParam instead of those in the MSG 2830 * struct to properly handle synthetic messages. lParam coords are 2831 * relative to client area, so they must be converted; since they can 2832 * be negative, we must use SLOWORD/SHIWORD instead of LOWORD/HIWORD. 2832 2833 */ 2833 2834 mt.pt.x = SLOWORD(msg.lParam); 2834 2835 mt.pt.y = SHIWORD(msg.lParam); 2836 #ifdef __WIN32OS2__ 2837 //This MUST be here (in Rewind, but not in Wine) 2838 #endif 2839 ClientToScreen(msg.hwnd,&mt.pt); 2835 2840 2836 2841 /* Find a menu for this mouse event */
Note:
See TracChangeset
for help on using the changeset viewer.