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