| 1 | /* $Id: oslibmsg.h,v 1.5 2000-01-01 14:54:52 cbratschi Exp $ */ | 
|---|
| 2 | /* | 
|---|
| 3 | * Window message translation functions for OS/2 | 
|---|
| 4 | * | 
|---|
| 5 | * | 
|---|
| 6 | * Copyright 1999 Sander van Leeuwen (sandervl@xs4all.nl) | 
|---|
| 7 | * | 
|---|
| 8 | * | 
|---|
| 9 | * Project Odin Software License can be found in LICENSE.TXT | 
|---|
| 10 | * | 
|---|
| 11 | */ | 
|---|
| 12 | #ifndef __OSLIBMSG_H__ | 
|---|
| 13 | #define __OSLIBMSG_H__ | 
|---|
| 14 |  | 
|---|
| 15 | ULONG TranslateWinMsg(ULONG msg); | 
|---|
| 16 |  | 
|---|
| 17 | #define MSG_NOREMOVE    0 | 
|---|
| 18 | #define MSG_REMOVE      1 | 
|---|
| 19 |  | 
|---|
| 20 | #ifdef OS2DEF_INCLUDED | 
|---|
| 21 | BOOL  OS2ToWinMsgTranslate(void *pThdb, QMSG *os2Msg, MSG *winMsg, BOOL isUnicode, BOOL fMsgRemoved); | 
|---|
| 22 | void  WinToOS2MsgTranslate(MSG *winMsg, QMSG *os2Msg, BOOL isUnicode); | 
|---|
| 23 |  | 
|---|
| 24 | extern QMSG *MsgThreadPtr; | 
|---|
| 25 |  | 
|---|
| 26 | #endif | 
|---|
| 27 |  | 
|---|
| 28 | BOOL  OSLibWinGetMsg(LPMSG pMsg, HWND hwnd, UINT uMsgFilterMin, | 
|---|
| 29 | UINT uMsgFilterMax, BOOL isUnicode = FALSE); | 
|---|
| 30 | BOOL  OSLibWinPeekMsg(LPMSG pMsg, HWND hwnd, UINT uMsgFilterMin, | 
|---|
| 31 | UINT uMsgFilterMax, DWORD fRemove, BOOL isUnicode = FALSE); | 
|---|
| 32 | void  OSLibWinPostQuitMessage(ULONG nExitCode); | 
|---|
| 33 | LONG  OSLibWinDispatchMsg(MSG *msg, BOOL isUnicode = FALSE); | 
|---|
| 34 | BOOL  OSLibWinTranslateMessage(MSG *msg); | 
|---|
| 35 |  | 
|---|
| 36 | ULONG OSLibWinQueryMsgTime(); | 
|---|
| 37 | BOOL  OSLibInitMsgQueue(); | 
|---|
| 38 | BOOL  OSLibWinWaitMessage(); | 
|---|
| 39 | BOOL  OSLibWinInSendMessage(); | 
|---|
| 40 | DWORD OSLibWinGetMessagePos(); | 
|---|
| 41 | LONG  OSLibWinGetMessageTime(); | 
|---|
| 42 | BOOL  OSLibWinReplyMessage(ULONG result); | 
|---|
| 43 | ULONG OSLibWinQueryQueueStatus(); | 
|---|
| 44 |  | 
|---|
| 45 | BOOL  OSLibPostThreadMessage(ULONG threadid, UINT msg, WPARAM wParam, LPARAM lParam, BOOL fUnicode); | 
|---|
| 46 | BOOL  OSLibPostMessage(HWND hwnd, ULONG msg, ULONG wParam, ULONG lParam, BOOL fUnicode); | 
|---|
| 47 | ULONG OSLibSendMessage(HWND hwnd, ULONG msg, ULONG wParam, ULONG lParam, BOOL fUnicode); | 
|---|
| 48 | ULONG OSLibWinBroadcastMsg(ULONG msg, ULONG wParam, ULONG lParam, BOOL fSend); | 
|---|
| 49 |  | 
|---|
| 50 | #define WINWM_NULL                  0x0000 | 
|---|
| 51 | #define WINWM_CREATE                0x0001 | 
|---|
| 52 | #define WINWM_DESTROY               0x0002 | 
|---|
| 53 | #define WINWM_MOVE                  0x0003 | 
|---|
| 54 | #define WINWM_SIZE                  0x0005 | 
|---|
| 55 | #define WINWM_ACTIVATE              0x0006 | 
|---|
| 56 | #define WINWM_SETFOCUS              0x0007 | 
|---|
| 57 | #define WINWM_KILLFOCUS             0x0008 | 
|---|
| 58 | #define WINWM_ENABLE                0x000A | 
|---|
| 59 | #define WINWM_SETREDRAW             0x000B | 
|---|
| 60 | #define WINWM_SETTEXT               0x000C | 
|---|
| 61 | #define WINWM_GETTEXT               0x000D | 
|---|
| 62 | #define WINWM_GETTEXTLENGTH         0x000E | 
|---|
| 63 | #define WINWM_PAINT                 0x000F | 
|---|
| 64 | #define WINWM_CLOSE                 0x0010 | 
|---|
| 65 | #define WINWM_QUERYENDSESSION       0x0011 | 
|---|
| 66 | #define WINWM_QUIT                  0x0012 | 
|---|
| 67 | #define WINWM_QUERYOPEN             0x0013 | 
|---|
| 68 | #define WINWM_ERASEBKGND            0x0014 | 
|---|
| 69 | #define WINWM_SYSCOLORCHANGE        0x0015 | 
|---|
| 70 | #define WINWM_ENDSESSION            0x0016 | 
|---|
| 71 | #define WINWM_SHOWWINDOW            0x0018 | 
|---|
| 72 | #define WINWM_WININICHANGE          0x001A | 
|---|
| 73 | #define WINWM_DEVMODECHANGE         0x001B | 
|---|
| 74 | #define WINWM_ACTIVATEAPP           0x001C | 
|---|
| 75 | #define WINWM_FONTCHANGE            0x001D | 
|---|
| 76 | #define WINWM_TIMECHANGE            0x001E | 
|---|
| 77 | #define WINWM_CANCELMODE            0x001F | 
|---|
| 78 | #define WINWM_SETCURSOR             0x0020 | 
|---|
| 79 | #define WINWM_MOUSEACTIVATE         0x0021 | 
|---|
| 80 | #define WINWM_CHILDACTIVATE         0x0022 | 
|---|
| 81 | #define WINWM_QUEUESYNC             0x0023 | 
|---|
| 82 | #define WINWM_GETMINMAXINFO         0x0024 | 
|---|
| 83 | #define WINWM_PAINTICON             0x0026 | 
|---|
| 84 | #define WINWM_ICONERASEBKGND        0x0027 | 
|---|
| 85 | #define WINWM_NEXTDLGCTL            0x0028 | 
|---|
| 86 | #define WINWM_SPOOLERSTATUS         0x002A | 
|---|
| 87 | #define WINWM_DRAWITEM              0x002B | 
|---|
| 88 | #define WINWM_MEASUREITEM           0x002C | 
|---|
| 89 | #define WINWM_DELETEITEM            0x002D | 
|---|
| 90 | #define WINWM_VKEYTOITEM            0x002E | 
|---|
| 91 | #define WINWM_CHARTOITEM            0x002F | 
|---|
| 92 | #define WINWM_SETFONT               0x0030 | 
|---|
| 93 | #define WINWM_GETFONT               0x0031 | 
|---|
| 94 | #define WINWM_SETHOTKEY             0x0032 | 
|---|
| 95 | #define WINWM_GETHOTKEY             0x0033 | 
|---|
| 96 | #define WINWM_QUERYDRAGICON         0x0037 | 
|---|
| 97 | #define WINWM_COMPAREITEM           0x0039 | 
|---|
| 98 | #define WINWM_COMPACTING            0x0041 | 
|---|
| 99 | #define WINWM_WINDOWPOSCHANGING     0x0046 | 
|---|
| 100 | #define WINWM_WINDOWPOSCHANGED      0x0047 | 
|---|
| 101 | #define WINWM_POWER                 0x0048 | 
|---|
| 102 | #define WINWM_COPYDATA              0x004A | 
|---|
| 103 | #define WINWM_CANCELJOURNAL         0x004B | 
|---|
| 104 | #define WINWM_CONTEXTMENU           0x007b | 
|---|
| 105 | #define WINWM_STYLECHANGING         0x007c | 
|---|
| 106 | #define WINWM_STYLECHANGED          0x007d | 
|---|
| 107 | #define WINWM_DISPLAYCHANGE         0x007e | 
|---|
| 108 | #define WINWM_GETICON               0x007f | 
|---|
| 109 | #define WINWM_SETICON               0x0080 | 
|---|
| 110 | #define WINWM_NCCREATE              0x0081 | 
|---|
| 111 | #define WINWM_NCDESTROY             0x0082 | 
|---|
| 112 | #define WINWM_NCCALCSIZE            0x0083 | 
|---|
| 113 | #define WINWM_NCHITTEST             0x0084 | 
|---|
| 114 | #define WINWM_NCPAINT               0x0085 | 
|---|
| 115 | #define WINWM_NCACTIVATE            0x0086 | 
|---|
| 116 | #define WINWM_GETDLGCODE            0x0087 | 
|---|
| 117 | #define WINWM_NCMOUSEMOVE           0x00A0 | 
|---|
| 118 | #define WINWM_NCLBUTTONDOWN         0x00A1 | 
|---|
| 119 | #define WINWM_NCLBUTTONUP           0x00A2 | 
|---|
| 120 | #define WINWM_NCLBUTTONDBLCLK       0x00A3 | 
|---|
| 121 | #define WINWM_NCRBUTTONDOWN         0x00A4 | 
|---|
| 122 | #define WINWM_NCRBUTTONUP           0x00A5 | 
|---|
| 123 | #define WINWM_NCRBUTTONDBLCLK       0x00A6 | 
|---|
| 124 | #define WINWM_NCMBUTTONDOWN         0x00A7 | 
|---|
| 125 | #define WINWM_NCMBUTTONUP           0x00A8 | 
|---|
| 126 | #define WINWM_NCMBUTTONDBLCLK       0x00A9 | 
|---|
| 127 | #define WINWM_KEYFIRST              0x0100 | 
|---|
| 128 | #define WINWM_KEYDOWN               0x0100 | 
|---|
| 129 | #define WINWM_KEYUP                 0x0101 | 
|---|
| 130 | #define WINWM_CHAR                  0x0102 | 
|---|
| 131 | #define WINWM_DEADCHAR              0x0103 | 
|---|
| 132 | #define WINWM_SYSKEYDOWN            0x0104 | 
|---|
| 133 | #define WINWM_SYSKEYUP              0x0105 | 
|---|
| 134 | #define WINWM_SYSCHAR               0x0106 | 
|---|
| 135 | #define WINWM_SYSDEADCHAR           0x0107 | 
|---|
| 136 | #define WINWM_KEYLAST               0x0108 | 
|---|
| 137 | #define WINWM_INITDIALOG            0x0110 | 
|---|
| 138 | #define WINWM_COMMAND               0x0111 | 
|---|
| 139 | #define WINWM_SYSCOMMAND            0x0112 | 
|---|
| 140 | #define WINWM_TIMER                 0x0113 | 
|---|
| 141 | #define WINWM_HSCROLL               0x0114 | 
|---|
| 142 | #define WINWM_VSCROLL               0x0115 | 
|---|
| 143 | #define WINWM_INITMENU              0x0116 | 
|---|
| 144 | #define WINWM_INITMENUPOPUP         0x0117 | 
|---|
| 145 | #define WINWM_SYSTIMER              0x0118 | 
|---|
| 146 | #define WINWM_MENUSELECT            0x011F | 
|---|
| 147 | #define WINWM_MENUCHAR              0x0120 | 
|---|
| 148 | #define WINWM_ENTERIDLE             0x0121 | 
|---|
| 149 | #define WINWM_CTLCOLORMSGBOX        0x0132 | 
|---|
| 150 | #define WINWM_CTLCOLOREDIT          0x0133 | 
|---|
| 151 | #define WINWM_CTLCOLORLISTBOX       0x0134 | 
|---|
| 152 | #define WINWM_CTLCOLORBTN           0x0135 | 
|---|
| 153 | #define WINWM_CTLCOLORDLG           0x0136 | 
|---|
| 154 | #define WINWM_CTLCOLORSCROLLBAR     0x0137 | 
|---|
| 155 | #define WINWM_CTLCOLORSTATIC        0x0138 | 
|---|
| 156 | #define WINWM_MOUSEFIRST            0x0200 | 
|---|
| 157 | #define WINWM_MOUSEMOVE             0x0200 | 
|---|
| 158 | #define WINWM_LBUTTONDOWN           0x0201 | 
|---|
| 159 | #define WINWM_LBUTTONUP             0x0202 | 
|---|
| 160 | #define WINWM_LBUTTONDBLCLK         0x0203 | 
|---|
| 161 | #define WINWM_RBUTTONDOWN           0x0204 | 
|---|
| 162 | #define WINWM_RBUTTONUP             0x0205 | 
|---|
| 163 | #define WINWM_RBUTTONDBLCLK         0x0206 | 
|---|
| 164 | #define WINWM_MBUTTONDOWN           0x0207 | 
|---|
| 165 | #define WINWM_MBUTTONUP             0x0208 | 
|---|
| 166 | #define WINWM_MBUTTONDBLCLK         0x0209 | 
|---|
| 167 | #define WINWM_MOUSELAST             0x0209 | 
|---|
| 168 | #define WINWM_PARENTNOTIFY          0x0210 | 
|---|
| 169 | #define WINWM_ENTERMENULOOP         0x0211 | 
|---|
| 170 | #define WINWM_EXITMENULOOP          0x0212 | 
|---|
| 171 | #define WINWM_MDICREATE             0x0220 | 
|---|
| 172 | #define WINWM_MDIDESTROY            0x0221 | 
|---|
| 173 | #define WINWM_MDIACTIVATE           0x0222 | 
|---|
| 174 | #define WINWM_MDIRESTORE            0x0223 | 
|---|
| 175 | #define WINWM_MDINEXT               0x0224 | 
|---|
| 176 | #define WINWM_MDIMAXIMIZE           0x0225 | 
|---|
| 177 | #define WINWM_MDITILE               0x0226 | 
|---|
| 178 | #define WINWM_MDICASCADE            0x0227 | 
|---|
| 179 | #define WINWM_MDIICONARRANGE        0x0228 | 
|---|
| 180 | #define WINWM_MDIGETACTIVE          0x0229 | 
|---|
| 181 | #define WINWM_MDISETMENU            0x0230 | 
|---|
| 182 | #define WINWM_DROPFILES             0x0233 | 
|---|
| 183 | #define WINWM_MDIREFRESHMENU        0x0234 | 
|---|
| 184 | #define WINWM_CUT                   0x0300 | 
|---|
| 185 | #define WINWM_COPY                  0x0301 | 
|---|
| 186 | #define WINWM_PASTE                 0x0302 | 
|---|
| 187 | #define WINWM_CLEAR                 0x0303 | 
|---|
| 188 | #define WINWM_UNDO                  0x0304 | 
|---|
| 189 | #define WINWM_RENDERFORMAT          0x0305 | 
|---|
| 190 | #define WINWM_RENDERALLFORMATS      0x0306 | 
|---|
| 191 | #define WINWM_DESTROYCLIPBOARD      0x0307 | 
|---|
| 192 | #define WINWM_DRAWCLIPBOARD         0x0308 | 
|---|
| 193 | #define WINWM_PAINTCLIPBOARD        0x0309 | 
|---|
| 194 | #define WINWM_VSCROLLCLIPBOARD      0x030A | 
|---|
| 195 | #define WINWM_SIZECLIPBOARD         0x030B | 
|---|
| 196 | #define WINWM_ASKCBFORMATNAME       0x030C | 
|---|
| 197 | #define WINWM_CHANGECBCHAIN         0x030D | 
|---|
| 198 | #define WINWM_HSCROLLCLIPBOARD      0x030E | 
|---|
| 199 | #define WINWM_QUERYNEWPALETTE       0x030F | 
|---|
| 200 | #define WINWM_PALETTEISCHANGING     0x0310 | 
|---|
| 201 | #define WINWM_PALETTECHANGED        0x0311 | 
|---|
| 202 | #define WINWM_HOTKEY                0x0312 | 
|---|
| 203 | #define WINWM_DDE_FIRST             0x03E0 | 
|---|
| 204 | #define WINWM_DDE_INITIATE          (WINWM_DDE_FIRST) | 
|---|
| 205 | #define WINWM_DDE_TERMINATE         (WINWM_DDE_FIRST + 1) | 
|---|
| 206 | #define WINWM_DDE_ADVISE            (WINWM_DDE_FIRST + 2) | 
|---|
| 207 | #define WINWM_DDE_UNADVISE          (WINWM_DDE_FIRST + 3) | 
|---|
| 208 | #define WINWM_DDE_ACK               (WINWM_DDE_FIRST + 4) | 
|---|
| 209 | #define WINWM_DDE_DATA              (WINWM_DDE_FIRST + 5) | 
|---|
| 210 | #define WINWM_DDE_REQUEST           (WINWM_DDE_FIRST + 6) | 
|---|
| 211 | #define WINWM_DDE_POKE              (WINWM_DDE_FIRST + 7) | 
|---|
| 212 | #define WINWM_DDE_EXECUTE           (WINWM_DDE_FIRST + 8) | 
|---|
| 213 | #define WINWM_DDE_LAST              (WINWM_DDE_FIRST + 8) | 
|---|
| 214 | #define WINWM_USER                  0x0400 | 
|---|
| 215 |  | 
|---|
| 216 | /******* | 
|---|
| 217 | #define OSWM_NULL                    0x0000 | 
|---|
| 218 | #define OSWM_CREATE                  0x0001 | 
|---|
| 219 | #define OSWM_DESTROY                 0x0002 | 
|---|
| 220 | #define OSWM_ENABLE                  0x0004 | 
|---|
| 221 | #define OSWM_SHOW                    0x0005 | 
|---|
| 222 | #define OSWM_MOVE                    0x0006 | 
|---|
| 223 | #define OSWM_SIZE                    0x0007 | 
|---|
| 224 | #define OSWM_ADJUSTWINDOWPOS         0x0008 | 
|---|
| 225 | #define OSWM_CALCVALIDRECTS          0x0009 | 
|---|
| 226 | #define OSWM_SETWINDOWPARAMS         0x000a | 
|---|
| 227 | #define OSWM_QUERYWINDOWPARAMS       0x000b | 
|---|
| 228 | #define OSWM_HITTEST                 0x000c | 
|---|
| 229 | #define OSWM_ACTIVATE                0x000d | 
|---|
| 230 | #define OSWM_SETFOCUS                0x000f | 
|---|
| 231 | #define OSWM_SETSELECTION            0x0010 | 
|---|
| 232 | #define OSWM_PPAINT                  0x0011 | 
|---|
| 233 | #define OSWM_PSETFOCUS               0x0012 | 
|---|
| 234 | #define OSWM_PSYSCOLORCHANGE         0x0013 | 
|---|
| 235 | #define OSWM_PSIZE                   0x0014 | 
|---|
| 236 | #define OSWM_PACTIVATE               0x0015 | 
|---|
| 237 | #define OSWM_PCONTROL                0x0016 | 
|---|
| 238 | #define OSWM_COMMAND                 0x0020 | 
|---|
| 239 | #define OSWM_SYSCOMMAND              0x0021 | 
|---|
| 240 | #define OSWM_HELP                    0x0022 | 
|---|
| 241 | #define OSWM_PAINT                   0x0023 | 
|---|
| 242 | #define OSWM_TIMER                   0x0024 | 
|---|
| 243 | #define OSWM_SEM1                    0x0025 | 
|---|
| 244 | #define OSWM_SEM2                    0x0026 | 
|---|
| 245 | #define OSWM_SEM3                    0x0027 | 
|---|
| 246 | #define OSWM_SEM4                    0x0028 | 
|---|
| 247 | #define OSWM_CLOSE                   0x0029 | 
|---|
| 248 | #define OSWM_QUIT                    0x002a | 
|---|
| 249 | #define OSWM_SYSCOLORCHANGE          0x002b | 
|---|
| 250 | #define OSWM_SYSVALUECHANGED         0x002d | 
|---|
| 251 | #define OSWM_APPTERMINATENOTIFY      0x002e | 
|---|
| 252 | #define OSWM_PRESPARAMCHANGED        0x002f | 
|---|
| 253 | #define OSWM_CONTROL                 0x0030 | 
|---|
| 254 | #define OSWM_VSCROLL                 0x0031 | 
|---|
| 255 | #define OSWM_HSCROLL                 0x0032 | 
|---|
| 256 | #define OSWM_INITMENU                0x0033 | 
|---|
| 257 | #define OSWM_MENUSELECT              0x0034 | 
|---|
| 258 | #define OSWM_MENUEND                 0x0035 | 
|---|
| 259 | #define OSWM_DRAWITEM                0x0036 | 
|---|
| 260 | #define OSWM_MEASUREITEM             0x0037 | 
|---|
| 261 | #define OSWM_CONTROLPOINTER          0x0038 | 
|---|
| 262 | #define OSWM_QUERYDLGCODE            0x003a | 
|---|
| 263 | #define OSWM_INITDLG                 0x003b | 
|---|
| 264 | #define OSWM_SUBSTITUTESTRING        0x003c | 
|---|
| 265 | #define OSWM_MATCHMNEMONIC           0x003d | 
|---|
| 266 | #define OSWM_SAVEAPPLICATION         0x003e | 
|---|
| 267 | #define OSWM_FLASHWINDOW             0x0040 | 
|---|
| 268 | #define OSWM_FORMATFRAME             0x0041 | 
|---|
| 269 | #define OSWM_UPDATEFRAME             0x0042 | 
|---|
| 270 | #define OSWM_FOCUSCHANGE             0x0043 | 
|---|
| 271 | #define OSWM_SETBORDERSIZE           0x0044 | 
|---|
| 272 | #define OSWM_TRACKFRAME              0x0045 | 
|---|
| 273 | #define OSWM_MINMAXFRAME             0x0046 | 
|---|
| 274 | #define OSWM_SETICON                 0x0047 | 
|---|
| 275 | #define OSWM_QUERYICON               0x0048 | 
|---|
| 276 | #define OSWM_SETACCELTABLE           0x0049 | 
|---|
| 277 | #define OSWM_QUERYACCELTABLE         0x004a | 
|---|
| 278 | #define OSWM_TRANSLATEACCEL          0x004b | 
|---|
| 279 | #define OSWM_QUERYTRACKINFO          0x004c | 
|---|
| 280 | #define OSWM_QUERYBORDERSIZE         0x004d | 
|---|
| 281 | #define OSWM_NEXTMENU                0x004e | 
|---|
| 282 | #define OSWM_ERASEBACKGROUND         0x004f | 
|---|
| 283 | #define OSWM_QUERYFRAMEINFO          0x0050 | 
|---|
| 284 | #define OSWM_QUERYFOCUSCHAIN         0x0051 | 
|---|
| 285 | #define OSWM_OWNERPOSCHANGE          0x0052 | 
|---|
| 286 | #define OSWM_CALCFRAMERECT           0x0053 | 
|---|
| 287 | #define OSWM_WINDOWPOSCHANGED        0x0055 | 
|---|
| 288 | #define OSWM_ADJUSTFRAMEPOS          0x0056 | 
|---|
| 289 | #define OSWM_QUERYFRAMECTLCOUNT      0x0059 | 
|---|
| 290 | #define OSWM_QUERYHELPINFO           0x005B | 
|---|
| 291 | #define OSWM_SETHELPINFO             0x005C | 
|---|
| 292 | #define OSWM_ERROR                   0x005D | 
|---|
| 293 | #define OSWM_REALIZEPALETTE          0x005E | 
|---|
| 294 | #define OSWM_RENDERFMT               0x0060 | 
|---|
| 295 | #define OSWM_RENDERALLFMTS           0x0061 | 
|---|
| 296 | #define OSWM_DESTROYCLIPBOARD        0x0062 | 
|---|
| 297 | #define OSWM_PAINTCLIPBOARD          0x0063 | 
|---|
| 298 | #define OSWM_SIZECLIPBOARD           0x0064 | 
|---|
| 299 | #define OSWM_HSCROLLCLIPBOARD        0x0065 | 
|---|
| 300 | #define OSWM_VSCROLLCLIPBOARD        0x0066 | 
|---|
| 301 | #define OSWM_DRAWCLIPBOARD           0x0067 | 
|---|
| 302 | #define OSWM_MOUSEMOVE               0x0070 | 
|---|
| 303 | #define OSWM_BUTTON1DOWN             0x0071 | 
|---|
| 304 | #define OSWM_BUTTON1UP               0x0072 | 
|---|
| 305 | #define OSWM_BUTTON1DBLCLK           0x0073 | 
|---|
| 306 | #define OSWM_BUTTON2DOWN             0x0074 | 
|---|
| 307 | #define OSWM_BUTTON2UP               0x0075 | 
|---|
| 308 | #define OSWM_BUTTON2DBLCLK           0x0076 | 
|---|
| 309 | #define OSWM_BUTTON3DOWN             0x0077 | 
|---|
| 310 | #define OSWM_BUTTON3UP               0x0078 | 
|---|
| 311 | #define OSWM_BUTTON3DBLCLK           0x0079 | 
|---|
| 312 | #define OSWM_CHAR                    0x007a | 
|---|
| 313 | #define OSWM_VIOCHAR                 0x007b | 
|---|
| 314 | #define OSWM_JOURNALNOTIFY           0x007c | 
|---|
| 315 | #define OSWM_MOUSEMAP                0x007D | 
|---|
| 316 | #define OSWM_VRNDISABLED             0x007e | 
|---|
| 317 | #define OSWM_VRNENABLED              0x007f | 
|---|
| 318 | #define OSWM_DDE_FIRST               0x00A0 | 
|---|
| 319 | #define OSWM_DDE_INITIATE            0x00A0 | 
|---|
| 320 | #define OSWM_DDE_REQUEST             0x00A1 | 
|---|
| 321 | #define OSWM_DDE_ACK                 0x00A2 | 
|---|
| 322 | #define OSWM_DDE_DATA                0x00A3 | 
|---|
| 323 | #define OSWM_DDE_ADVISE              0x00A4 | 
|---|
| 324 | #define OSWM_DDE_UNADVISE            0x00A5 | 
|---|
| 325 | #define OSWM_DDE_POKE                0x00A6 | 
|---|
| 326 | #define OSWM_DDE_EXECUTE             0x00A7 | 
|---|
| 327 | #define OSWM_DDE_TERMINATE           0x00A8 | 
|---|
| 328 | #define OSWM_DDE_INITIATEACK         0x00A9 | 
|---|
| 329 | #define OSWM_DDE_LAST                0x00AF | 
|---|
| 330 | #define OSWM_QUERYCONVERTPOS         0x00b0 | 
|---|
| 331 | #define OSWM_DBCSFIRST               0x00b0 | 
|---|
| 332 | #define OSWM_DBCSLAST                0x00cf | 
|---|
| 333 | #define OSWM_MSGBOXINIT              0x010E | 
|---|
| 334 | #define OSWM_MSGBOXDISMISS           0x010F | 
|---|
| 335 | #define OSWM_CTLCOLORCHANGE          0x0129 | 
|---|
| 336 | #define OSWM_QUERYCTLTYPE            0x0130 | 
|---|
| 337 | #define OSWM_EXTMOUSEFIRST           0x0410 | 
|---|
| 338 | #define OSWM_EXTMOUSELAST            0x0419 | 
|---|
| 339 | #define OSWM_CHORD                   0x0410 | 
|---|
| 340 | #define OSWM_BUTTON1MOTIONSTART      0x0411 | 
|---|
| 341 | #define OSWM_BUTTON1MOTIONEND        0x0412 | 
|---|
| 342 | #define OSWM_BUTTON1CLICK            0x0413 | 
|---|
| 343 | #define OSWM_BUTTON2MOTIONSTART      0x0414 | 
|---|
| 344 | #define OSWM_BUTTON2MOTIONEND        0x0415 | 
|---|
| 345 | #define OSWM_BUTTON2CLICK            0x0416 | 
|---|
| 346 | #define OSWM_BUTTON3MOTIONSTART      0x0417 | 
|---|
| 347 | #define OSWM_BUTTON3MOTIONEND        0x0418 | 
|---|
| 348 | #define OSWM_BUTTON3CLICK            0x0419 | 
|---|
| 349 | #define OSWM_MOUSETRANSLATEFIRST     0x0420 | 
|---|
| 350 | #define OSWM_MOUSETRANSLATELAST      0x0428 | 
|---|
| 351 | #define OSWM_BEGINDRAG               0x0420 | 
|---|
| 352 | #define OSWM_ENDDRAG                 0x0421 | 
|---|
| 353 | #define OSWM_SINGLESELECT            0x0422 | 
|---|
| 354 | #define OSWM_OPEN                    0x0423 | 
|---|
| 355 | #define OSWM_CONTEXTMENU             0x0424 | 
|---|
| 356 | #define OSWM_CONTEXTHELP             0x0425 | 
|---|
| 357 | #define OSWM_TEXTEDIT                0x0426 | 
|---|
| 358 | #define OSWM_BEGINSELECT             0x0427 | 
|---|
| 359 | #define OSWM_ENDSELECT               0x0428 | 
|---|
| 360 | #define OSWM_PICKUP                  0x0429 | 
|---|
| 361 | #define OSWM_PENFIRST                0x04C0 | 
|---|
| 362 | #define OSWM_PENLAST                 0x04FF | 
|---|
| 363 | #define OSWM_MMPMFIRST               0x0500 | 
|---|
| 364 | #define OSWM_MMPMLAST                0x05FF | 
|---|
| 365 | #define OSWM_STDDLGFIRST             0x0600 | 
|---|
| 366 | #define OSWM_STDDLGLAST              0x065F | 
|---|
| 367 | #define OSWM_BIDI_FIRST              0x0BD0 | 
|---|
| 368 | #define OSWM_BIDI_LAST               0x0BFF | 
|---|
| 369 | #define OSWM_USER                    0x1000 | 
|---|
| 370 | ************/ | 
|---|
| 371 |  | 
|---|
| 372 | #endif //__OSLIBMSG_H__ | 
|---|