- Timestamp:
- Jan 3, 2003, 6:20:04 PM (23 years ago)
- Location:
- trunk/src/user32
- Files:
-
- 2 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 */ -
trunk/src/user32/user32.cpp
r9586 r9601 1 /* $Id: user32.cpp,v 1.12 5 2003-01-02 13:04:45sandervl Exp $ */1 /* $Id: user32.cpp,v 1.126 2003-01-03 17:20:04 sandervl Exp $ */ 2 2 3 3 /* … … 553 553 break; 554 554 case SM_CXMENUCHECK: 555 rc = 4; //TODO555 rc = 13; //TODO 556 556 break; 557 557 case SM_CYMENUCHECK:
Note:
See TracChangeset
for help on using the changeset viewer.