[1] | 1 | ' api_msg.sbp - declarations file for window control.
|
---|
| 2 |
|
---|
| 3 |
|
---|
| 4 | #ifndef _INC_MSG
|
---|
| 5 | #define _INC_MSG
|
---|
| 6 |
|
---|
| 7 |
|
---|
| 8 | '------------------------------
|
---|
| 9 | ' Virtual Keys, Standard Set
|
---|
| 10 | '------------------------------
|
---|
| 11 |
|
---|
| 12 | Const VK_LBUTTON = &H01
|
---|
| 13 | Const VK_RBUTTON = &H02
|
---|
| 14 | Const VK_CANCEL = &H03
|
---|
| 15 | Const VK_MBUTTON = &H04
|
---|
| 16 |
|
---|
| 17 | Const VK_BACK = &H08
|
---|
| 18 | Const VK_TAB = &H09
|
---|
| 19 |
|
---|
| 20 | Const VK_CLEAR = &H0C
|
---|
| 21 | Const VK_RETURN = &H0D
|
---|
| 22 |
|
---|
| 23 | Const VK_SHIFT = &H10
|
---|
| 24 | Const VK_CONTROL = &H11
|
---|
| 25 | Const VK_MENU = &H12
|
---|
| 26 | Const VK_PAUSE = &H13
|
---|
| 27 | Const VK_CAPITAL = &H14
|
---|
| 28 |
|
---|
| 29 | Const VK_KANA = &H15
|
---|
| 30 | Const VK_HANGEUL = &H15
|
---|
| 31 | Const VK_HANGUL = &H15
|
---|
| 32 | Const VK_JUNJA = &H17
|
---|
| 33 | Const VK_FINAL = &H18
|
---|
| 34 | Const VK_HANJA = &H19
|
---|
| 35 | Const VK_KANJI = &H19
|
---|
| 36 |
|
---|
| 37 | Const VK_ESCAPE = &H1B
|
---|
| 38 |
|
---|
| 39 | Const VK_CONVERT = &H1C
|
---|
| 40 | Const VK_NONCONVERT = &H1D
|
---|
| 41 | Const VK_ACCEPT = &H1E
|
---|
| 42 | Const VK_MODECHANGE = &H1F
|
---|
| 43 |
|
---|
| 44 | Const VK_SPACE = &H20
|
---|
| 45 | Const VK_PRIOR = &H21
|
---|
| 46 | Const VK_NEXT = &H22
|
---|
| 47 | Const VK_END = &H23
|
---|
| 48 | Const VK_HOME = &H24
|
---|
| 49 | Const VK_LEFT = &H25
|
---|
| 50 | Const VK_UP = &H26
|
---|
| 51 | Const VK_RIGHT = &H27
|
---|
| 52 | Const VK_DOWN = &H28
|
---|
| 53 | Const VK_SELECT = &H29
|
---|
| 54 | Const VK_PRINT = &H2A
|
---|
| 55 | Const VK_EXECUTE = &H2B
|
---|
| 56 | Const VK_SNAPSHOT = &H2C
|
---|
| 57 | Const VK_INSERT = &H2D
|
---|
| 58 | Const VK_DELETE = &H2E
|
---|
| 59 | Const VK_HELP = &H2F
|
---|
| 60 |
|
---|
| 61 | Const VK_LWIN = &H5B
|
---|
| 62 | Const VK_RWIN = &H5C
|
---|
| 63 | Const VK_APPS = &H5D
|
---|
| 64 |
|
---|
| 65 | Const VK_NUMPAD0 = &H60
|
---|
| 66 | Const VK_NUMPAD1 = &H61
|
---|
| 67 | Const VK_NUMPAD2 = &H62
|
---|
| 68 | Const VK_NUMPAD3 = &H63
|
---|
| 69 | Const VK_NUMPAD4 = &H64
|
---|
| 70 | Const VK_NUMPAD5 = &H65
|
---|
| 71 | Const VK_NUMPAD6 = &H66
|
---|
| 72 | Const VK_NUMPAD7 = &H67
|
---|
| 73 | Const VK_NUMPAD8 = &H68
|
---|
| 74 | Const VK_NUMPAD9 = &H69
|
---|
| 75 | Const VK_MULTIPLY = &H6A
|
---|
| 76 | Const VK_ADD = &H6B
|
---|
| 77 | Const VK_SEPARATOR = &H6C
|
---|
| 78 | Const VK_SUBTRACT = &H6D
|
---|
| 79 | Const VK_DECIMAL = &H6E
|
---|
| 80 | Const VK_DIVIDE = &H6F
|
---|
| 81 | Const VK_F1 = &H70
|
---|
| 82 | Const VK_F2 = &H71
|
---|
| 83 | Const VK_F3 = &H72
|
---|
| 84 | Const VK_F4 = &H73
|
---|
| 85 | Const VK_F5 = &H74
|
---|
| 86 | Const VK_F6 = &H75
|
---|
| 87 | Const VK_F7 = &H76
|
---|
| 88 | Const VK_F8 = &H77
|
---|
| 89 | Const VK_F9 = &H78
|
---|
| 90 | Const VK_F10 = &H79
|
---|
| 91 | Const VK_F11 = &H7A
|
---|
| 92 | Const VK_F12 = &H7B
|
---|
| 93 | Const VK_F13 = &H7C
|
---|
| 94 | Const VK_F14 = &H7D
|
---|
| 95 | Const VK_F15 = &H7E
|
---|
| 96 | Const VK_F16 = &H7F
|
---|
| 97 | Const VK_F17 = &H80
|
---|
| 98 | Const VK_F18 = &H81
|
---|
| 99 | Const VK_F19 = &H82
|
---|
| 100 | Const VK_F20 = &H83
|
---|
| 101 | Const VK_F21 = &H84
|
---|
| 102 | Const VK_F22 = &H85
|
---|
| 103 | Const VK_F23 = &H86
|
---|
| 104 | Const VK_F24 = &H87
|
---|
| 105 |
|
---|
| 106 | Const VK_NUMLOCK = &H90
|
---|
| 107 | Const VK_SCROLL = &H91
|
---|
| 108 |
|
---|
| 109 | ' Used only as parameters to GetAsyncKeyState() and GetKeyState().
|
---|
| 110 | Const VK_LSHIFT = &HA0
|
---|
| 111 | Const VK_RSHIFT = &HA1
|
---|
| 112 | Const VK_LCONTROL = &HA2
|
---|
| 113 | Const VK_RCONTROL = &HA3
|
---|
| 114 | Const VK_LMENU = &HA4
|
---|
| 115 | Const VK_RMENU = &HA5
|
---|
| 116 |
|
---|
| 117 | Const VK_PROCESSKEY = &HE5
|
---|
| 118 |
|
---|
| 119 | Const VK_ATTN = &HF6
|
---|
| 120 | Const VK_CRSEL = &HF7
|
---|
| 121 | Const VK_EXSEL = &HF8
|
---|
| 122 | Const VK_EREOF = &HF9
|
---|
| 123 | Const VK_PLAY = &HFA
|
---|
| 124 | Const VK_ZOOM = &HFB
|
---|
| 125 | Const VK_NONAME = &HFC
|
---|
| 126 | Const VK_PA1 = &HFD
|
---|
| 127 | Const VK_OEM_CLEAR = &HFE
|
---|
| 128 |
|
---|
| 129 |
|
---|
| 130 | '-------------------
|
---|
| 131 | ' Window Messages
|
---|
| 132 | '-------------------
|
---|
| 133 |
|
---|
| 134 | Const WM_NULL = &H0000
|
---|
| 135 | Const WM_CREATE = &H0001
|
---|
| 136 | ' lParam of WM_CREATE message point to...
|
---|
| 137 | Type CREATESTRUCT
|
---|
| 138 | lpCreateParams As VoidPtr
|
---|
| 139 | hInstance As HINSTANCE
|
---|
| 140 | hMenu As HMENU
|
---|
| 141 | hwndParent As HWND
|
---|
| 142 | cy As Long
|
---|
| 143 | cx As Long
|
---|
| 144 | y As Long
|
---|
| 145 | x As Long
|
---|
| 146 | style As Long
|
---|
| 147 | lpszName As BytePtr
|
---|
| 148 | lpszClass As BytePtr
|
---|
| 149 | dwExStyle As DWord
|
---|
| 150 | End Type
|
---|
| 151 | Const WM_DESTROY = &H0002
|
---|
| 152 | Const WM_MOVE = &H0003
|
---|
| 153 | Const WM_SIZE = &H0005
|
---|
| 154 | ' WM_SIZE message wParam values
|
---|
| 155 | Const SIZE_RESTORED = 0
|
---|
| 156 | Const SIZE_MINIMIZED = 1
|
---|
| 157 | Const SIZE_MAXIMIZED = 2
|
---|
| 158 | Const SIZE_MAXSHOW = 3
|
---|
| 159 | Const SIZE_MAXHIDE = 4
|
---|
| 160 |
|
---|
| 161 | Const WM_ACTIVATE = &H0006
|
---|
| 162 | ' WM_ACTIVATE state values
|
---|
| 163 | Const WA_INACTIVE = 0
|
---|
| 164 | Const WA_ACTIVE = 1
|
---|
| 165 | Const WA_CLICKACTIVE = 2
|
---|
| 166 |
|
---|
| 167 | Const WM_SETFOCUS = &H0007
|
---|
| 168 | Const WM_KILLFOCUS = &H0008
|
---|
| 169 | Const WM_ENABLE = &H000A
|
---|
| 170 | Const WM_SETREDRAW = &H000B
|
---|
| 171 | Const WM_SETTEXT = &H000C
|
---|
| 172 | Const WM_GETTEXT = &H000D
|
---|
| 173 | Const WM_GETTEXTLENGTH = &H000E
|
---|
| 174 | Const WM_PAINT = &H000F
|
---|
| 175 | Const WM_CLOSE = &H0010
|
---|
| 176 | Const WM_QUERYENDSESSION = &H0011
|
---|
| 177 | Const WM_QUIT = &H0012
|
---|
| 178 | Const WM_QUERYOPEN = &H0013
|
---|
| 179 | Const WM_ERASEBKGND = &H0014
|
---|
| 180 | Const WM_SYSCOLORCHANGE = &H0015
|
---|
| 181 | Const WM_ENDSESSION = &H0016
|
---|
| 182 | Const WM_SHOWWINDOW = &H0018
|
---|
| 183 | ' Identifiers for the WM_SHOWWINDOW message
|
---|
| 184 | Const SW_PARENTCLOSING = 1
|
---|
| 185 | Const SW_OTHERZOOM = 2
|
---|
| 186 | Const SW_PARENTOPENING = 3
|
---|
| 187 | Const SW_OTHERUNZOOM = 4
|
---|
| 188 | Const WM_WININICHANGE = &H001A
|
---|
| 189 | Const WM_SETTINGCHANGE = WM_WININICHANGE
|
---|
| 190 |
|
---|
| 191 | Const WM_DEVMODECHANGE = &H001B
|
---|
| 192 | Const WM_ACTIVATEAPP = &H001C
|
---|
| 193 | Const WM_FONTCHANGE = &H001D
|
---|
| 194 | Const WM_TIMECHANGE = &H001E
|
---|
| 195 | Const WM_CANCELMODE = &H001F
|
---|
| 196 | Const WM_SETCURSOR = &H0020
|
---|
| 197 | Const WM_MOUSEACTIVATE = &H0021
|
---|
| 198 | Const WM_CHILDACTIVATE = &H0022
|
---|
| 199 | Const WM_QUEUESYNC = &H0023
|
---|
| 200 |
|
---|
| 201 | Const WM_GETMINMAXINFO = &H0024
|
---|
| 202 | ' Struct pointed to by WM_GETMINMAXINFO lParam
|
---|
| 203 | Type MINMAXINFO
|
---|
| 204 | ptReserved As POINTAPI
|
---|
| 205 | ptMaxSize As POINTAPI
|
---|
| 206 | ptMaxPosition As POINTAPI
|
---|
| 207 | ptMinTrackSize As POINTAPI
|
---|
| 208 | ptMaxTrackSize As POINTAPI
|
---|
| 209 | End Type
|
---|
| 210 |
|
---|
| 211 | Const WM_PAINTICON = &H0026
|
---|
| 212 | Const WM_ICONERASEBKGND = &H0027
|
---|
| 213 | Const WM_NEXTDLGCTL = &H0028
|
---|
| 214 | Const WM_SPOOLERSTATUS = &H002A
|
---|
| 215 |
|
---|
| 216 |
|
---|
| 217 | Const WM_DRAWITEM = &H002B
|
---|
| 218 |
|
---|
| 219 | 'DRAWITEMSTRUCT for ownerdraw
|
---|
| 220 | Type DRAWITEMSTRUCT
|
---|
| 221 | CtlType As DWord
|
---|
| 222 | CtlID As DWord
|
---|
| 223 | itemID As DWord
|
---|
| 224 | itemAction As DWord
|
---|
| 225 | itemState As DWord
|
---|
| 226 | hwndItem As HWND
|
---|
| 227 | hDC As HDC
|
---|
| 228 | rcItem As RECT
|
---|
| 229 | itemData As ULONG_PTR
|
---|
| 230 | End Type
|
---|
| 231 |
|
---|
| 232 |
|
---|
| 233 | Const WM_MEASUREITEM = &H002C
|
---|
| 234 |
|
---|
| 235 | ' Owner draw control types
|
---|
| 236 | Const ODT_MENU = 1
|
---|
| 237 | Const ODT_LISTBOX = 2
|
---|
| 238 | Const ODT_COMBOBOX = 3
|
---|
| 239 | Const ODT_BUTTON = 4
|
---|
| 240 | Const ODT_STATIC = 5
|
---|
| 241 |
|
---|
| 242 | 'Owner draw actions
|
---|
| 243 | Const ODA_DRAWENTIRE = &H0001
|
---|
| 244 | Const ODA_SELECT = &H0002
|
---|
| 245 | Const ODA_FOCUS = &H0004
|
---|
| 246 |
|
---|
| 247 | 'Owner draw state
|
---|
| 248 | Const ODS_SELECTED = &H0001
|
---|
| 249 | Const ODS_GRAYED = &H0002
|
---|
| 250 | Const ODS_DISABLED = &H0004
|
---|
| 251 | Const ODS_CHECKED = &H0008
|
---|
| 252 | Const ODS_FOCUS = &H0010
|
---|
| 253 | Const ODS_DEFAULT = &H0020
|
---|
| 254 | Const ODS_COMBOBOXEDIT = &H1000
|
---|
| 255 | Const ODS_HOTLIGHT = &H0040
|
---|
| 256 | Const ODS_INACTIVE = &H0080
|
---|
| 257 | Const ODS_NOACCEL = &H0100
|
---|
| 258 | Const ODS_NOFOCUSRECT = &H0200
|
---|
| 259 |
|
---|
| 260 | 'MEASUREITEMSTRUCT for ownerdraw
|
---|
| 261 | Type MEASUREITEMSTRUCT
|
---|
| 262 | CtlType As DWord
|
---|
| 263 | CtlID As DWord
|
---|
| 264 | itemID As DWord
|
---|
| 265 | itemWidth As DWord
|
---|
| 266 | itemHeight As DWord
|
---|
| 267 | itemData As ULONG_PTR
|
---|
| 268 | End Type
|
---|
| 269 |
|
---|
| 270 |
|
---|
| 271 | Const WM_DELETEITEM = &H002D
|
---|
| 272 |
|
---|
| 273 | ' DELETEITEMSTRUCT for ownerdraw
|
---|
| 274 | Type DELETEITEMSTRUCT
|
---|
| 275 | CtlType As DWord
|
---|
| 276 | CtlID As DWord
|
---|
| 277 | itemID As DWord
|
---|
| 278 | hwndItem As HWND
|
---|
| 279 | itemData As DWord
|
---|
| 280 | End Type
|
---|
| 281 |
|
---|
| 282 |
|
---|
| 283 | Const WM_VKEYTOITEM = &H002E
|
---|
| 284 | Const WM_CHARTOITEM = &H002F
|
---|
| 285 | Const WM_SETFONT = &H0030
|
---|
| 286 | Const WM_GETFONT = &H0031
|
---|
| 287 | Const WM_SETHOTKEY = &H0032
|
---|
| 288 | Const WM_GETHOTKEY = &H0033
|
---|
| 289 | Const WM_QUERYDRAGICON = &H0037
|
---|
| 290 | Const WM_COMPAREITEM = &H0039
|
---|
| 291 | ' COMPAREITEMSTUCT for ownerdraw sorting
|
---|
| 292 | Type COMPAREITEMSTRUCT
|
---|
| 293 | CtlType As DWord
|
---|
| 294 | CtlID As DWord
|
---|
| 295 | hwndItem As HWND
|
---|
| 296 | itemID1 As DWord
|
---|
| 297 | itemData1 As DWord
|
---|
| 298 | itemID2 As DWord
|
---|
| 299 | itemData2 As DWord
|
---|
| 300 | dwLocaleId As DWord
|
---|
| 301 | End Type
|
---|
| 302 | Const WM_GETOBJECT = &H003D
|
---|
| 303 | Const WM_COMPACTING = &H0041
|
---|
| 304 | Const WM_COMMNOTIFY = &H0044
|
---|
| 305 | Const WM_WINDOWPOSCHANGING = &H0046
|
---|
| 306 | Const WM_WINDOWPOSCHANGED = &H0047
|
---|
| 307 | ' WM_WINDOWPOSCHANGING/CHANGED struct pointed to by lParam
|
---|
| 308 | Type WINDOWPOS
|
---|
| 309 | hwnd As HWND
|
---|
| 310 | hwndInsertAfter As HWND
|
---|
| 311 | x As Long
|
---|
| 312 | y As Long
|
---|
| 313 | cx As Long
|
---|
| 314 | cy As Long
|
---|
| 315 | flags As DWord
|
---|
| 316 | End Type
|
---|
| 317 |
|
---|
| 318 | Const WM_POWER = &H0048
|
---|
| 319 | ' wParam for WM_POWER window message and DRV_POWER driver notification
|
---|
| 320 | Const PWR_OK = 1
|
---|
| 321 | Const PWR_FAIL = -1
|
---|
| 322 | Const PWR_SUSPENDREQUEST =1
|
---|
| 323 | Const PWR_SUSPENDRESUME = 2
|
---|
| 324 | Const PWR_CRITICALRESUME =3
|
---|
| 325 |
|
---|
| 326 | Const WM_COPYDATA = &H004A
|
---|
| 327 | ' lParam of WM_COPYDATA message points to...
|
---|
| 328 | Type COPYDATASTRUCT
|
---|
| 329 | dwData As DWord
|
---|
| 330 | cbData As DWord
|
---|
| 331 | lpData As VoidPtr
|
---|
| 332 | End Type
|
---|
| 333 |
|
---|
| 334 | Const WM_CANCELJOURNAL = &H004B
|
---|
| 335 | Const WM_NOTIFY = &H004E
|
---|
| 336 | Const WM_INPUTLANGCHANGEREQUEST = &H0050
|
---|
| 337 | Const WM_INPUTLANGCHANGE = &H0051
|
---|
| 338 | Const WM_TCARD = &H0052
|
---|
| 339 | Const WM_HELP = &H0053
|
---|
| 340 | ' lParam of WM_HELP messgae point to...
|
---|
| 341 | Type HELPINFO
|
---|
| 342 | cbSize As DWord
|
---|
| 343 | iContextType As Long
|
---|
| 344 | iCtrlId As Long
|
---|
| 345 | hItemHandle As HANDLE
|
---|
| 346 | dwContextId As DWord
|
---|
| 347 | MousePos As POINTAPI
|
---|
| 348 | End Type
|
---|
| 349 | Const WM_USERCHANGED = &H0054
|
---|
| 350 | Const WM_NOTIFYFORMAT = &H0055
|
---|
| 351 | Const NFR_ANSI = 1
|
---|
| 352 | Const NFR_UNICODE = 2
|
---|
| 353 | Const NF_QUERY = 3
|
---|
| 354 | Const NF_REQUERY = 4
|
---|
| 355 |
|
---|
| 356 | Const WM_CONTEXTMENU = &H007B
|
---|
| 357 | Const WM_STYLECHANGING = &H007C
|
---|
| 358 | Const WM_STYLECHANGED = &H007D
|
---|
| 359 | Const WM_DISPLAYCHANGE = &H007E
|
---|
| 360 | Const WM_GETICON = &H007F
|
---|
| 361 | Const WM_SETICON = &H0080
|
---|
| 362 | ' WM_SETICON / WM_GETICON Type Codes
|
---|
| 363 | Const ICON_SMALL = 0
|
---|
| 364 | Const ICON_BIG = 1
|
---|
| 365 |
|
---|
| 366 | Const WM_NCCREATE = &H0081
|
---|
| 367 | Const WM_NCDESTROY = &H0082
|
---|
| 368 | Const WM_NCCALCSIZE = &H0083
|
---|
| 369 | Const WM_NCHITTEST = &H0084
|
---|
| 370 | ' WM_NCHITTEST and MOUSEHOOKSTRUCT Mouse Position Codes
|
---|
| 371 | Const HTERROR = -2
|
---|
| 372 | Const HTTRANSPARENT = -1
|
---|
| 373 | Const HTNOWHERE = 0
|
---|
| 374 | Const HTCLIENT = 1
|
---|
| 375 | Const HTCAPTION = 2
|
---|
| 376 | Const HTSYSMENU = 3
|
---|
| 377 | Const HTGROWBOX = 4
|
---|
| 378 | Const HTSIZE = HTGROWBOX
|
---|
| 379 | Const HTMENU = 5
|
---|
| 380 | Const HTHSCROLL = 6
|
---|
| 381 | Const HTVSCROLL = 7
|
---|
| 382 | Const HTMINBUTTON = 8
|
---|
| 383 | Const HTMAXBUTTON = 9
|
---|
| 384 | Const HTLEFT = 10
|
---|
| 385 | Const HTRIGHT = 11
|
---|
| 386 | Const HTTOP = 12
|
---|
| 387 | Const HTTOPLEFT = 13
|
---|
| 388 | Const HTTOPRIGHT = 14
|
---|
| 389 | Const HTBOTTOM = 15
|
---|
| 390 | Const HTBOTTOMLEFT = 16
|
---|
| 391 | Const HTBOTTOMRIGHT = 17
|
---|
| 392 | Const HTBORDER = 18
|
---|
| 393 | Const HTREDUCE = HTMINBUTTON
|
---|
| 394 | Const HTZOOM = HTMAXBUTTON
|
---|
| 395 | Const HTSIZEFIRST = HTLEFT
|
---|
| 396 | Const HTSIZELAST = HTBOTTOMRIGHT
|
---|
| 397 | Const HTOBJECT = 19
|
---|
| 398 | Const HTCLOSE = 20
|
---|
| 399 | Const HTHELP = 21
|
---|
| 400 | Const WM_NCPAINT = &H0085
|
---|
| 401 | Const WM_NCACTIVATE = &H0086
|
---|
| 402 | Const WM_GETDLGCODE = &H0087
|
---|
| 403 | Const WM_SYNCPAINT = &H0088
|
---|
| 404 | Const WM_NCMOUSEMOVE = &H00A0
|
---|
| 405 | Const WM_NCLBUTTONDOWN = &H00A1
|
---|
| 406 | Const WM_NCLBUTTONUP = &H00A2
|
---|
| 407 | Const WM_NCLBUTTONDBLCLK = &H00A3
|
---|
| 408 | Const WM_NCRBUTTONDOWN = &H00A4
|
---|
| 409 | Const WM_NCRBUTTONUP = &H00A5
|
---|
| 410 | Const WM_NCRBUTTONDBLCLK = &H00A6
|
---|
| 411 | Const WM_NCMBUTTONDOWN = &H00A7
|
---|
| 412 | Const WM_NCMBUTTONUP = &H00A8
|
---|
| 413 | Const WM_NCMBUTTONDBLCLK = &H00A9
|
---|
| 414 |
|
---|
| 415 | Const WM_KEYFIRST = &H0100
|
---|
| 416 | Const WM_KEYDOWN = &H0100
|
---|
| 417 | Const WM_KEYUP = &H0101
|
---|
| 418 | Const WM_CHAR = &H0102
|
---|
| 419 | Const WM_DEADCHAR = &H0103
|
---|
| 420 | Const WM_SYSKEYDOWN = &H0104
|
---|
| 421 | Const WM_SYSKEYUP = &H0105
|
---|
| 422 | Const WM_SYSCHAR = &H0106
|
---|
| 423 | Const WM_SYSDEADCHAR = &H0107
|
---|
| 424 | Const WM_KEYLAST = &H0108
|
---|
| 425 |
|
---|
| 426 | Const WM_IME_STARTCOMPOSITION = &H010D
|
---|
| 427 | Const WM_IME_ENDCOMPOSITION = &H010E
|
---|
| 428 | Const WM_IME_COMPOSITION = &H010F
|
---|
| 429 | Const WM_IME_KEYLAST = &H010F
|
---|
| 430 |
|
---|
| 431 | Const WM_INITDIALOG = &H0110
|
---|
| 432 | Const WM_COMMAND = &H0111
|
---|
| 433 | Const WM_SYSCOMMAND = &H0112
|
---|
| 434 | ' System Menu Command Values
|
---|
| 435 | Const SC_SIZE = &HF000
|
---|
| 436 | Const SC_MOVE = &HF010
|
---|
| 437 | Const SC_MINIMIZE = &HF020
|
---|
| 438 | Const SC_MAXIMIZE = &HF030
|
---|
| 439 | Const SC_NEXTWINDOW = &HF040
|
---|
| 440 | Const SC_PREVWINDOW = &HF050
|
---|
| 441 | Const SC_CLOSE = &HF060
|
---|
| 442 | Const SC_VSCROLL = &HF070
|
---|
| 443 | Const SC_HSCROLL = &HF080
|
---|
| 444 | Const SC_MOUSEMENU = &HF090
|
---|
| 445 | Const SC_KEYMENU = &HF100
|
---|
| 446 | Const SC_ARRANGE = &HF110
|
---|
| 447 | Const SC_RESTORE = &HF120
|
---|
| 448 | Const SC_TASKLIST = &HF130
|
---|
| 449 | Const SC_SCREENSAVE = &HF140
|
---|
| 450 | Const SC_HOTKEY = &HF150
|
---|
| 451 | Const SC_DEFAULT = &HF160
|
---|
| 452 | Const SC_MONITORPOWER = &HF170
|
---|
| 453 | Const SC_CONTEXTHELP = &HF180
|
---|
| 454 | Const SC_SEPARATOR = &HF00F
|
---|
| 455 | Const WM_TIMER = &H0113
|
---|
| 456 | Const WM_HSCROLL = &H0114
|
---|
| 457 | Const WM_VSCROLL = &H0115
|
---|
| 458 | ' Scroll Bar Commands
|
---|
| 459 | Const SB_LINEUP = 0
|
---|
| 460 | Const SB_LINELEFT = 0
|
---|
| 461 | Const SB_LINEDOWN = 1
|
---|
| 462 | Const SB_LINERIGHT = 1
|
---|
| 463 | Const SB_PAGEUP = 2
|
---|
| 464 | Const SB_PAGELEFT = 2
|
---|
| 465 | Const SB_PAGEDOWN = 3
|
---|
| 466 | Const SB_PAGERIGHT = 3
|
---|
| 467 | Const SB_THUMBPOSITION = 4
|
---|
| 468 | Const SB_THUMBTRACK = 5
|
---|
| 469 | Const SB_TOP = 6
|
---|
| 470 | Const SB_LEFT = 6
|
---|
| 471 | Const SB_BOTTOM = 7
|
---|
| 472 | Const SB_RIGHT = 7
|
---|
| 473 | Const SB_ENDSCROLL = 8
|
---|
| 474 | Const WM_INITMENU = &H0116
|
---|
| 475 | Const WM_INITMENUPOPUP = &H0117
|
---|
| 476 | Const WM_MENUSELECT = &H011F
|
---|
| 477 | Const WM_MENUCHAR = &H0120
|
---|
| 478 | ' return codes for WM_MENUCHAR
|
---|
| 479 | Const MNC_IGNORE = 0
|
---|
| 480 | Const MNC_CLOSE = 1
|
---|
| 481 | Const MNC_EXECUTE = 2
|
---|
| 482 | Const MNC_SELECT = 3
|
---|
| 483 | Const WM_ENTERIDLE = &H0121
|
---|
| 484 |
|
---|
| 485 | Const WM_MENURBUTTONUP = &H0122
|
---|
| 486 | Const WM_MENUDRAG = &H0123
|
---|
| 487 | Const WM_MENUGETOBJECT = &H0124
|
---|
| 488 | Const WM_UNINITMENUPOPUP = &H0125
|
---|
| 489 | Const WM_MENUCOMMAND = &H0126
|
---|
| 490 |
|
---|
| 491 | Const WM_CTLCOLORMSGBOX = &H0132
|
---|
| 492 | Const WM_CTLCOLOREDIT = &H0133
|
---|
| 493 | Const WM_CTLCOLORLISTBOX = &H0134
|
---|
| 494 | Const WM_CTLCOLORBTN = &H0135
|
---|
| 495 | Const WM_CTLCOLORDLG = &H0136
|
---|
| 496 | Const WM_CTLCOLORSCROLLBAR = &H0137
|
---|
| 497 | Const WM_CTLCOLORSTATIC = &H0138
|
---|
| 498 |
|
---|
| 499 | Const WM_MOUSEFIRST = &H0200
|
---|
| 500 | Const WM_MOUSEMOVE = &H0200
|
---|
| 501 | Const WM_LBUTTONDOWN = &H0201
|
---|
| 502 | Const WM_LBUTTONUP = &H0202
|
---|
| 503 | Const WM_LBUTTONDBLCLK = &H0203
|
---|
| 504 | Const WM_RBUTTONDOWN = &H0204
|
---|
| 505 | Const WM_RBUTTONUP = &H0205
|
---|
| 506 | Const WM_RBUTTONDBLCLK = &H0206
|
---|
| 507 | Const WM_MBUTTONDOWN = &H0207
|
---|
| 508 | Const WM_MBUTTONUP = &H0208
|
---|
| 509 | Const WM_MBUTTONDBLCLK = &H0209
|
---|
| 510 | Const WM_MOUSEWHEEL = &H020A
|
---|
| 511 | Const WM_MOUSELAST = &H020A
|
---|
| 512 | Const WHEEL_DELTA = 120
|
---|
| 513 | Const WHEEL_PAGESCROLL = &HFFFFFFFF
|
---|
| 514 |
|
---|
| 515 | Const WM_PARENTNOTIFY = &H0210
|
---|
| 516 | Const WM_ENTERMENULOOP = &H0211
|
---|
| 517 | Const WM_EXITMENULOOP = &H0212
|
---|
| 518 |
|
---|
| 519 | Const WM_SIZING = &H0214
|
---|
| 520 | ' wParam for WM_SIZING message
|
---|
| 521 | Const WMSZ_LEFT = 1
|
---|
| 522 | Const WMSZ_RIGHT = 2
|
---|
| 523 | Const WMSZ_TOP = 3
|
---|
| 524 | Const WMSZ_TOPLEFT = 4
|
---|
| 525 | Const WMSZ_TOPRIGHT = 5
|
---|
| 526 | Const WMSZ_BOTTOM = 6
|
---|
| 527 | Const WMSZ_BOTTOMLEFT = 7
|
---|
| 528 | Const WMSZ_BOTTOMRIGHT = 8
|
---|
| 529 |
|
---|
| 530 | Const WM_CAPTURECHANGED = &H0215
|
---|
| 531 | Const WM_MOVING = &H0216
|
---|
| 532 |
|
---|
| 533 | Const WM_POWERBROADCAST = &H0218
|
---|
| 534 | ' wParam for WM_POWERBROADCAST message
|
---|
| 535 | Const PBT_APMQUERYSUSPEND = &H0000
|
---|
| 536 | Const PBT_APMQUERYSTANDBY = &H0001
|
---|
| 537 | Const PBT_APMQUERYSUSPENDFAILED = &H0002
|
---|
| 538 | Const PBT_APMQUERYSTANDBYFAILED = &H0003
|
---|
| 539 | Const PBT_APMSUSPEND = &H0004
|
---|
| 540 | Const PBT_APMSTANDBY = &H0005
|
---|
| 541 | Const PBT_APMRESUMECRITICAL = &H0006
|
---|
| 542 | Const PBT_APMRESUMESUSPEND = &H0007
|
---|
| 543 | Const PBT_APMRESUMESTANDBY = &H0008
|
---|
| 544 | Const PBTF_APMRESUMEFROMFAILURE = &H00000001
|
---|
| 545 | Const PBT_APMBATTERYLOW = &H0009
|
---|
| 546 | Const PBT_APMPOWERSTATUSCHANGE = &H000A
|
---|
| 547 | Const PBT_APMOEMEVENT = &H000B
|
---|
| 548 | Const PBT_APMRESUMEAUTOMATIC = &H0012
|
---|
| 549 |
|
---|
| 550 | Const WM_DEVICECHANGE = &H0219
|
---|
| 551 |
|
---|
| 552 | Const WM_MDICREATE = &H0220
|
---|
| 553 | ' lParam of WM_MDICREATE message point to...
|
---|
| 554 | Type MDICREATESTRUCT
|
---|
| 555 | szClass As BytePtr
|
---|
| 556 | szTitle As BytePtr
|
---|
| 557 | hOwner As HANDLE
|
---|
| 558 | x As Long
|
---|
| 559 | y As Long
|
---|
| 560 | cx As Long
|
---|
| 561 | cy As Long
|
---|
| 562 | style As DWord
|
---|
| 563 | lParam As LPARAM
|
---|
| 564 | End Type
|
---|
| 565 | Const WM_MDIDESTROY = &H0221
|
---|
| 566 | Const WM_MDIACTIVATE = &H0222
|
---|
| 567 | Const WM_MDIRESTORE = &H0223
|
---|
| 568 | Const WM_MDINEXT = &H0224
|
---|
| 569 | Const WM_MDIMAXIMIZE = &H0225
|
---|
| 570 | Const WM_MDITILE = &H0226
|
---|
| 571 | ' wParam Flags for WM_MDITILE and WM_MDICASCADE messages.
|
---|
| 572 | Const MDITILE_VERTICAL = &H0000
|
---|
| 573 | Const MDITILE_HORIZONTAL = &H0001
|
---|
| 574 | Const MDITILE_SKIPDISABLED = &H0002
|
---|
| 575 | Const WM_MDICASCADE = &H0227
|
---|
| 576 | Const WM_MDIICONARRANGE = &H0228
|
---|
| 577 | Const WM_MDIGETACTIVE = &H0229
|
---|
| 578 |
|
---|
| 579 | Const WM_MDISETMENU = &H0230
|
---|
| 580 | Const WM_ENTERSIZEMOVE = &H0231
|
---|
| 581 | Const WM_EXITSIZEMOVE = &H0232
|
---|
| 582 | Const WM_DROPFILES = &H0233
|
---|
| 583 | Const WM_MDIREFRESHMENU = &H0234
|
---|
| 584 |
|
---|
| 585 | Const WM_IME_SETCONTEXT = &H0281
|
---|
| 586 | Const WM_IME_NOTIFY = &H0282
|
---|
| 587 | Const WM_IME_CONTROL = &H0283
|
---|
| 588 | Const WM_IME_COMPOSITIONFULL = &H0284
|
---|
| 589 | Const WM_IME_SELECT = &H0285
|
---|
| 590 | Const WM_IME_CHAR = &H0286
|
---|
| 591 | Const WM_IME_REQUEST = &H0288
|
---|
| 592 | Const WM_IME_KEYDOWN = &H0290
|
---|
| 593 | Const WM_IME_KEYUP = &H0291
|
---|
| 594 |
|
---|
| 595 | Const WM_MOUSEHOVER = &H02A1
|
---|
| 596 | Const WM_MOUSELEAVE = &H02A3
|
---|
| 597 |
|
---|
| 598 | Const WM_CUT = &H0300
|
---|
| 599 | Const WM_COPY = &H0301
|
---|
| 600 | Const WM_PASTE = &H0302
|
---|
| 601 | Const WM_CLEAR = &H0303
|
---|
| 602 | Const WM_UNDO = &H0304
|
---|
| 603 | Const WM_RENDERFORMAT = &H0305
|
---|
| 604 | Const WM_RENDERALLFORMATS = &H0306
|
---|
| 605 | Const WM_DESTROYCLIPBOARD = &H0307
|
---|
| 606 | Const WM_DRAWCLIPBOARD = &H0308
|
---|
| 607 | Const WM_PAINTCLIPBOARD = &H0309
|
---|
| 608 | Const WM_VSCROLLCLIPBOARD = &H030A
|
---|
| 609 | Const WM_SIZECLIPBOARD = &H030B
|
---|
| 610 | Const WM_ASKCBFORMATNAME = &H030C
|
---|
| 611 | Const WM_CHANGECBCHAIN = &H030D
|
---|
| 612 | Const WM_HSCROLLCLIPBOARD = &H030E
|
---|
| 613 | Const WM_QUERYNEWPALETTE = &H030F
|
---|
| 614 | Const WM_PALETTEISCHANGING = &H0310
|
---|
| 615 | Const WM_PALETTECHANGED = &H0311
|
---|
| 616 | Const WM_HOTKEY = &H0312
|
---|
| 617 |
|
---|
| 618 | Const WM_PRINT = &H0317
|
---|
| 619 | Const WM_PRINTCLIENT = &H0318
|
---|
| 620 | ' WM_PRINT flags
|
---|
| 621 | Const PRF_CHECKVISIBLE = &H00000001
|
---|
| 622 | Const PRF_NONCLIENT = &H00000002
|
---|
| 623 | Const PRF_CLIENT = &H00000004
|
---|
| 624 | Const PRF_ERASEBKGND = &H00000008
|
---|
| 625 | Const PRF_CHILDREN = &H00000010
|
---|
| 626 | Const PRF_OWNED = &H00000020
|
---|
| 627 |
|
---|
| 628 | Const WM_HANDHELDFIRST = &H0358
|
---|
| 629 | Const WM_HANDHELDLAST = &H035F
|
---|
| 630 |
|
---|
| 631 | Const WM_AFXFIRST = &H0360
|
---|
| 632 | Const WM_AFXLAST = &H037F
|
---|
| 633 |
|
---|
| 634 | Const WM_PENWINFIRST = &H0380
|
---|
| 635 | Const WM_PENWINLAST = &H038F
|
---|
| 636 |
|
---|
| 637 | Const WM_APP = &H8000
|
---|
| 638 | Const WM_USER = &H0400
|
---|
| 639 |
|
---|
| 640 | ' WM_MOUSEACTIVATE Return Codes
|
---|
| 641 | Const MA_ACTIVATE = 1
|
---|
| 642 | Const MA_ACTIVATEANDEAT = 2
|
---|
| 643 | Const MA_NOACTIVATE = 3
|
---|
| 644 | Const MA_NOACTIVATEANDEAT = 4
|
---|
| 645 |
|
---|
| 646 | ' Key State Masks for Mouse Messages
|
---|
| 647 | Const MK_LBUTTON = &H0001
|
---|
| 648 | Const MK_RBUTTON = &H0002
|
---|
| 649 | Const MK_SHIFT = &H0004
|
---|
| 650 | Const MK_CONTROL = &H0008
|
---|
| 651 | Const MK_MBUTTON = &H0010
|
---|
| 652 |
|
---|
| 653 |
|
---|
| 654 | '----------------------------------
|
---|
| 655 | ' Edit Control Notification Codes
|
---|
| 656 | '----------------------------------
|
---|
| 657 |
|
---|
| 658 | Const EN_SETFOCUS = &H0100
|
---|
| 659 | Const EN_KILLFOCUS = &H0200
|
---|
| 660 | Const EN_CHANGE = &H0300
|
---|
| 661 | Const EN_UPDATE = &H0400
|
---|
| 662 | Const EN_ERRSPACE = &H0500
|
---|
| 663 | Const EN_MAXTEXT = &H0501
|
---|
| 664 | Const EN_HSCROLL = &H0601
|
---|
| 665 | Const EN_VSCROLL = &H0602
|
---|
| 666 |
|
---|
| 667 |
|
---|
| 668 | '------------------------
|
---|
| 669 | ' Edit Control Messages
|
---|
| 670 | '------------------------
|
---|
| 671 | Const EM_GETSEL = &H00B0
|
---|
| 672 | Const EM_SETSEL = &H00B1
|
---|
| 673 | Const EM_GETRECT = &H00B2
|
---|
| 674 | Const EM_SETRECT = &H00B3
|
---|
| 675 | Const EM_SETRECTNP = &H00B4
|
---|
| 676 | Const EM_SCROLL = &H00B5
|
---|
| 677 | Const EM_LINESCROLL = &H00B6
|
---|
| 678 | Const EM_SCROLLCARET = &H00B7
|
---|
| 679 | Const EM_GETMODIFY = &H00B8
|
---|
| 680 | Const EM_SETMODIFY = &H00B9
|
---|
| 681 | Const EM_GETLINECOUNT = &H00BA
|
---|
| 682 | Const EM_LINEINDEX = &H00BB
|
---|
| 683 | Const EM_SETHANDLE = &H00BC
|
---|
| 684 | Const EM_GETHANDLE = &H00BD
|
---|
| 685 | Const EM_GETTHUMB = &H00BE
|
---|
| 686 | Const EM_LINELENGTH = &H00C1
|
---|
| 687 | Const EM_REPLACESEL = &H00C2
|
---|
| 688 | Const EM_GETLINE = &H00C4
|
---|
| 689 | Const EM_LIMITTEXT = &H00C5
|
---|
| 690 | Const EM_CANUNDO = &H00C6
|
---|
| 691 | Const EM_UNDO = &H00C7
|
---|
| 692 | Const EM_FMTLINES = &H00C8
|
---|
| 693 | Const EM_LINEFROMCHAR = &H00C9
|
---|
| 694 | Const EM_SETTABSTOPS = &H00CB
|
---|
| 695 | Const EM_SETPASSWORDCHAR = &H00CC
|
---|
| 696 | Const EM_EMPTYUNDOBUFFER = &H00CD
|
---|
| 697 | Const EM_GETFIRSTVISIBLELINE =&H00CE
|
---|
| 698 | Const EM_SETREADONLY = &H00CF
|
---|
| 699 | Const EM_SETWORDBREAKPROC = &H00D0
|
---|
| 700 | Const EM_GETWORDBREAKPROC = &H00D1
|
---|
| 701 | Const EM_GETPASSWORDCHAR = &H00D2
|
---|
| 702 |
|
---|
| 703 | Const EM_SETMARGINS = &H00D3
|
---|
| 704 | Const EC_LEFTMARGIN = &H0001
|
---|
| 705 | Const EC_RIGHTMARGIN = &H0002
|
---|
| 706 | Const EC_USEFONTINFO = &Hffff
|
---|
| 707 |
|
---|
| 708 | Const EM_GETMARGINS = &H00D4
|
---|
| 709 | Const EM_SETLIMITTEXT = EM_LIMITTEXT
|
---|
| 710 | Const EM_GETLIMITTEXT = &H00D5
|
---|
| 711 | Const EM_POSFROMCHAR = &H00D6
|
---|
| 712 | Const EM_CHARFROMPOS = &H00D7
|
---|
| 713 |
|
---|
| 714 | Const EM_SETIMESTATUS = &H00D8
|
---|
| 715 | Const EM_GETIMESTATUS = &H00D9
|
---|
| 716 | Const EMSIS_COMPOSITIONSTRING = &H0001
|
---|
| 717 | Const EIMES_GETCOMPSTRATONCE = &H0001
|
---|
| 718 | Const EIMES_CANCELCOMPSTRINFOCUS = &H0002
|
---|
| 719 | Const EIMES_COMPLETECOMPSTRKILLFOCUS =&H0004
|
---|
| 720 |
|
---|
| 721 |
|
---|
| 722 | '---------------------------------
|
---|
| 723 | ' User Button Notification Codes
|
---|
| 724 | '---------------------------------
|
---|
| 725 |
|
---|
| 726 | Const BN_CLICKED = 0
|
---|
| 727 | Const BN_PAINT = 1
|
---|
| 728 | Const BN_HILITE = 2
|
---|
| 729 | Const BN_UNHILITE = 3
|
---|
| 730 | Const BN_DISABLE = 4
|
---|
| 731 | Const BN_DOUBLECLICKED = 5
|
---|
| 732 | Const BN_PUSHED = BN_HILITE
|
---|
| 733 | Const BN_UNPUSHED = BN_UNHILITE
|
---|
| 734 | Const BN_DBLCLK = BN_DOUBLECLICKED
|
---|
| 735 | Const BN_SETFOCUS = 6
|
---|
| 736 | Const BN_KILLFOCUS = 7
|
---|
| 737 |
|
---|
| 738 |
|
---|
| 739 | '--------------------------
|
---|
| 740 | ' Button Control Messages
|
---|
| 741 | '--------------------------
|
---|
| 742 |
|
---|
| 743 | Const BM_GETCHECK = &H00F0
|
---|
| 744 | Const BM_SETCHECK = &H00F1
|
---|
| 745 | Const BM_GETSTATE = &H00F2
|
---|
| 746 | Const BM_SETSTATE = &H00F3
|
---|
| 747 | Const BM_SETSTYLE = &H00F4
|
---|
| 748 | Const BM_CLICK = &H00F5
|
---|
| 749 | Const BM_GETIMAGE = &H00F6
|
---|
| 750 | Const BM_SETIMAGE = &H00F7
|
---|
| 751 |
|
---|
| 752 | Const BST_UNCHECKED = &H0000
|
---|
| 753 | Const BST_CHECKED = &H0001
|
---|
| 754 | Const BST_INDETERMINATE =&H0002
|
---|
| 755 | Const BST_PUSHED = &H0004
|
---|
| 756 | Const BST_FOCUS = &H0008
|
---|
| 757 |
|
---|
| 758 |
|
---|
| 759 | '-------------------------
|
---|
| 760 | ' Static Control Mesages
|
---|
| 761 | '-------------------------
|
---|
| 762 | Const STM_SETICON = &H0170
|
---|
| 763 | Const STM_GETICON = &H0171
|
---|
| 764 | Const STM_SETIMAGE = &H0172
|
---|
| 765 | Const STM_GETIMAGE = &H0173
|
---|
| 766 | Const STN_CLICKED = 0
|
---|
| 767 | Const STN_DBLCLK = 1
|
---|
| 768 | Const STN_ENABLE = 2
|
---|
| 769 | Const STN_DISABLE = 3
|
---|
| 770 | Const STM_MSGMAX = &H0174
|
---|
| 771 |
|
---|
| 772 |
|
---|
| 773 | '--------------------------
|
---|
| 774 | ' ListBox Control Mesages
|
---|
| 775 | '--------------------------
|
---|
| 776 | Const LB_ADDSTRING = &H0180
|
---|
| 777 | Const LB_INSERTSTRING = &H0181
|
---|
| 778 | Const LB_DELETESTRING = &H0182
|
---|
| 779 | Const LB_SELITEMRANGEEX = &H0183
|
---|
| 780 | Const LB_RESETCONTENT = &H0184
|
---|
| 781 | Const LB_SETSEL = &H0185
|
---|
| 782 | Const LB_SETCURSEL = &H0186
|
---|
| 783 | Const LB_GETSEL = &H0187
|
---|
| 784 | Const LB_GETCURSEL = &H0188
|
---|
| 785 | Const LB_GETTEXT = &H0189
|
---|
| 786 | Const LB_GETTEXTLEN = &H018A
|
---|
| 787 | Const LB_GETCOUNT = &H018B
|
---|
| 788 | Const LB_SELECTSTRING = &H018C
|
---|
| 789 | Const LB_DIR = &H018D
|
---|
| 790 | Const LB_GETTOPINDEX = &H018E
|
---|
| 791 | Const LB_FINDSTRING = &H018F
|
---|
| 792 | Const LB_GETSELCOUNT = &H0190
|
---|
| 793 | Const LB_GETSELITEMS = &H0191
|
---|
| 794 | Const LB_SETTABSTOPS = &H0192
|
---|
| 795 | Const LB_GETHORIZONTALEXTENT = &H0193
|
---|
| 796 | Const LB_SETHORIZONTALEXTENT = &H0194
|
---|
| 797 | Const LB_SETCOLUMNWIDTH = &H0195
|
---|
| 798 | Const LB_ADDFILE = &H0196
|
---|
| 799 | Const LB_SETTOPINDEX = &H0197
|
---|
| 800 | Const LB_GETITEMRECT = &H0198
|
---|
| 801 | Const LB_GETITEMDATA = &H0199
|
---|
| 802 | Const LB_SETITEMDATA = &H019A
|
---|
| 803 | Const LB_SELITEMRANGE = &H019B
|
---|
| 804 | Const LB_SETANCHORINDEX = &H019C
|
---|
| 805 | Const LB_GETANCHORINDEX = &H019D
|
---|
| 806 | Const LB_SETCARETINDEX = &H019E
|
---|
| 807 | Const LB_GETCARETINDEX = &H019F
|
---|
| 808 | Const LB_SETITEMHEIGHT = &H01A0
|
---|
| 809 | Const LB_GETITEMHEIGHT = &H01A1
|
---|
| 810 | Const LB_FINDSTRINGEXACT = &H01A2
|
---|
| 811 | Const LB_SETLOCALE = &H01A5
|
---|
| 812 | Const LB_GETLOCALE = &H01A6
|
---|
| 813 | Const LB_SETCOUNT = &H01A7
|
---|
| 814 | Const LB_INITSTORAGE = &H01A8
|
---|
| 815 | Const LB_ITEMFROMPOINT = &H01A9
|
---|
| 816 |
|
---|
| 817 | Const LBN_ERRSPACE = -2
|
---|
| 818 | Const LBN_SELCHANGE = 1
|
---|
| 819 | Const LBN_DBLCLK = 2
|
---|
| 820 | Const LBN_SELCANCEL = 3
|
---|
| 821 | Const LBN_SETFOCUS = 4
|
---|
| 822 | Const LBN_KILLFOCUS = 5
|
---|
| 823 |
|
---|
| 824 | Const LB_ERR = -1
|
---|
| 825 | Const LB_ERRSPACE = -2
|
---|
| 826 |
|
---|
| 827 |
|
---|
| 828 | '---------------------------
|
---|
| 829 | ' ComboBox Control Mesages
|
---|
| 830 | '---------------------------
|
---|
| 831 | Const CB_GETEDITSEL = &H0140
|
---|
| 832 | Const CB_LIMITTEXT = &H0141
|
---|
| 833 | Const CB_SETEDITSEL = &H0142
|
---|
| 834 | Const CB_ADDSTRING = &H0143
|
---|
| 835 | Const CB_DELETESTRING = &H0144
|
---|
| 836 | Const CB_DIR = &H0145
|
---|
| 837 | Const CB_GETCOUNT = &H0146
|
---|
| 838 | Const CB_GETCURSEL = &H0147
|
---|
| 839 | Const CB_GETLBTEXT = &H0148
|
---|
| 840 | Const CB_GETLBTEXTLEN = &H0149
|
---|
| 841 | Const CB_INSERTSTRING = &H014A
|
---|
| 842 | Const CB_RESETCONTENT = &H014B
|
---|
| 843 | Const CB_FINDSTRING = &H014C
|
---|
| 844 | Const CB_SELECTSTRING = &H014D
|
---|
| 845 | Const CB_SETCURSEL = &H014E
|
---|
| 846 | Const CB_SHOWDROPDOWN = &H014F
|
---|
| 847 | Const CB_GETITEMDATA = &H0150
|
---|
| 848 | Const CB_SETITEMDATA = &H0151
|
---|
| 849 | Const CB_GETDROPPEDCONTROLRECT = &H0152
|
---|
| 850 | Const CB_SETITEMHEIGHT = &H0153
|
---|
| 851 | Const CB_GETITEMHEIGHT = &H0154
|
---|
| 852 | Const CB_SETEXTENDEDUI = &H0155
|
---|
| 853 | Const CB_GETEXTENDEDUI = &H0156
|
---|
| 854 | Const CB_GETDROPPEDSTATE = &H0157
|
---|
| 855 | Const CB_FINDSTRINGEXACT = &H0158
|
---|
| 856 | Const CB_SETLOCALE = &H0159
|
---|
| 857 | Const CB_GETLOCALE = &H015A
|
---|
| 858 | Const CB_GETTOPINDEX = &H015B
|
---|
| 859 | Const CB_SETTOPINDEX = &H015C
|
---|
| 860 | Const CB_GETHORIZONTALEXTENT = &H015D
|
---|
| 861 | Const CB_SETHORIZONTALEXTENT = &H015E
|
---|
| 862 | Const CB_GETDROPPEDWIDTH = &H015F
|
---|
| 863 | Const CB_SETDROPPEDWIDTH = &H0160
|
---|
| 864 | Const CB_INITSTORAGE = &H0161
|
---|
| 865 | Const CB_MSGMAX = &H0162
|
---|
| 866 |
|
---|
| 867 | Const CBN_ERRSPACE = -1
|
---|
| 868 | Const CBN_SELCHANGE = 1
|
---|
| 869 | Const CBN_DBLCLK = 2
|
---|
| 870 | Const CBN_SETFOCUS = 3
|
---|
| 871 | Const CBN_KILLFOCUS = 4
|
---|
| 872 | Const CBN_EDITCHANGE = 5
|
---|
| 873 | Const CBN_EDITUPDATE = 6
|
---|
| 874 | Const CBN_DROPDOWN = 7
|
---|
| 875 | Const CBN_CLOSEUP = 8
|
---|
| 876 | Const CBN_SELENDOK = 9
|
---|
| 877 | Const CBN_SELENDCANCEL = 10
|
---|
| 878 |
|
---|
| 879 |
|
---|
| 880 | #endif '_INC_MSG
|
---|