Changeset 9601 for trunk/src


Ignore:
Timestamp:
Jan 3, 2003, 6:20:04 PM (23 years ago)
Author:
sandervl
Message:

Fixed GetSystemMetrics(SM_CXMENUCHECK); should be 13 & backed out wrong menu fix

Location:
trunk/src/user32
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/user32/menu.c

    r9599 r9601  
    28272827        {
    28282828            /*
    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.
    28322833             */
    28332834            mt.pt.x = SLOWORD(msg.lParam);
    28342835            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);
    28352840
    28362841            /* Find a menu for this mouse event */
  • trunk/src/user32/user32.cpp

    r9586 r9601  
    1 /* $Id: user32.cpp,v 1.125 2003-01-02 13:04:45 sandervl Exp $ */
     1/* $Id: user32.cpp,v 1.126 2003-01-03 17:20:04 sandervl Exp $ */
    22
    33/*
     
    553553        break;
    554554    case SM_CXMENUCHECK:
    555         rc = 4;     //TODO
     555        rc = 13;     //TODO
    556556        break;
    557557    case SM_CYMENUCHECK:
Note: See TracChangeset for help on using the changeset viewer.