Ignore:
Timestamp:
Dec 24, 1999, 7:42:46 PM (26 years ago)
Author:
sandervl
Message:

Message handling rewrite

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/user32/win32wbase.h

    r2140 r2200  
    1 /* $Id: win32wbase.h,v 1.55 1999-12-19 17:46:26 cbratschi Exp $ */
     1/* $Id: win32wbase.h,v 1.56 1999-12-24 18:39:12 sandervl Exp $ */
    22/*
    33 * Win32 Window Base Class for OS/2
     
    7171         ULONG  MsgPosChanging(LPARAM lp);
    7272         ULONG  MsgPosChanged(LPARAM lp);
    73          ULONG  MsgMove(ULONG x, ULONG y);
    74          ULONG  MsgHitTest(ULONG x, ULONG y);
    75          ULONG  MsgSize(ULONG width, ULONG height, BOOL fMinimize, BOOL fMaximize);
    7673virtual  ULONG  MsgActivate(BOOL fActivate, BOOL fMinimized, HWND hwnd);
    7774         ULONG  MsgSetFocus(HWND hwnd);
    7875         ULONG  MsgKillFocus(HWND hwnd);
    79          ULONG  MsgTimer(ULONG TimerID);
    80          ULONG  MsgSysTimer(ULONG TimerID);
    8176         ULONG  MsgScroll(ULONG msg, ULONG scrollCode, ULONG scrollPos);
    82          ULONG  MsgCommand(ULONG cmd, ULONG Id, HWND hwnd);
    83          ULONG  MsgSysCommand(ULONG win32sc, ULONG x, ULONG y);
    84          ULONG  MsgChar(ULONG cmd, ULONG repeatcnt, ULONG scancode, ULONG vkey, ULONG keyflags);
    85          ULONG  MsgKeyUp (ULONG repeatCount, ULONG scancode, ULONG virtualKey);
    86          ULONG  MsgKeyDown (ULONG repeatCount, ULONG scancode, ULONG virtualKey, BOOL keyWasPressed);
    87          ULONG  MsgSysKeyUp (ULONG repeatCount, ULONG scancode, ULONG virtualKey);
    88          ULONG  MsgSysKeyDown (ULONG repeatCount, ULONG scancode, ULONG virtualKey, BOOL keyWasPressed);
    89          ULONG  MsgButton(ULONG msg, ULONG ncx, ULONG ncy, ULONG clx, ULONG cly);
    90          ULONG  MsgMouseMove(ULONG keystate, ULONG x, ULONG y);
     77         ULONG  MsgButton(MSG *msg);
     78         ULONG  MsgMouseMove(MSG *msg);
    9179         ULONG  MsgPaint(ULONG tmp1, BOOL select = TRUE);
    9280         ULONG  MsgEraseBackGround(HDC hdc);
     81         ULONG  MsgInitMenu(MSG *msg);
     82         ULONG  MsgHitTest(MSG *msg);
     83         ULONG  MsgNCPaint();
     84         ULONG  DispatchMsg(MSG *msg);
     85
    9386         ULONG  MsgSetText(LPSTR lpsz, LONG cch);
    9487         ULONG  MsgGetTextLength();
    9588         char  *MsgGetText();
    9689         ULONG  MsgContextMenu(ULONG x,ULONG y);
    97          void   MsgInitMenu(HWND hMenu);
    9890         VOID   updateWindowStyle(DWORD oldExStyle,DWORD oldStyle);
    9991
     
    366358        else    return SendInternalMessageA(msg, wParam, lParam);
    367359     }
     360#else
     361friend BOOL  OS2ToWinMsgTranslate(void *pThdb, QMSG *os2Msg, MSG *winMsg, BOOL isUnicode, BOOL fTranslateExtraMsgs);
    368362#endif
    369363
     
    394388};
    395389
    396 
    397 #define BUTTON_LEFTDOWN         0
    398 #define BUTTON_LEFTUP           1
    399 #define BUTTON_LEFTDBLCLICK     2
    400 #define BUTTON_RIGHTUP          3
    401 #define BUTTON_RIGHTDOWN        4
    402 #define BUTTON_RIGHTDBLCLICK    5
    403 #define BUTTON_MIDDLEUP         6
    404 #define BUTTON_MIDDLEDOWN       7
    405 #define BUTTON_MIDDLEDBLCLICK   8
    406 
    407390#define WMMOVE_LBUTTON          1
    408391#define WMMOVE_MBUTTON          2
     
    411394#define WMMOVE_SHIFT            16
    412395
    413 
    414 #define CMD_MENU                1
    415 #define CMD_CONTROL             2
    416 #define CMD_ACCELERATOR         3
    417 
    418 #define KEY_ALTDOWN             1
    419 #define KEY_PREVDOWN            2
    420 #define KEY_UP                  4
    421 #define KEY_DEADKEY             8
    422 
    423396#endif //__cplusplus
    424397
Note: See TracChangeset for help on using the changeset viewer.