Changeset 120
- Timestamp:
- Feb 25, 2007, 12:55:24 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Include/api_msg.sbp
r1 r120 135 135 Const WM_CREATE = &H0001 136 136 ' lParam of WM_CREATE message point to... 137 Type CREATESTRUCT 137 Type CREATESTRUCTA 138 138 lpCreateParams As VoidPtr 139 139 hInstance As HINSTANCE … … 145 145 x As Long 146 146 style As Long 147 lpszName As BytePtr148 lpszClass As BytePtr147 lpszName As PCSTR 148 lpszClass As PCSTR 149 149 dwExStyle As DWord 150 150 End Type 151 Type CREATESTRUCTW 152 lpCreateParams As VoidPtr 153 hInstance As HINSTANCE 154 hMenu As HMENU 155 hwndParent As HWND 156 cy As Long 157 cx As Long 158 y As Long 159 x As Long 160 style As Long 161 lpszName As PCWSTR 162 lpszClass As PCWSTR 163 dwExStyle As DWord 164 End Type 165 #ifdef UNICODE 166 TypeDef CREATESTRUCT = CREATESTRUCTW 167 #else 168 TypeDef CREATESTRUCT = CREATESTRUCTA 169 #endif 151 170 Const WM_DESTROY = &H0002 152 171 Const WM_MOVE = &H0003 … … 300 319 dwLocaleId As DWord 301 320 End Type 321 '#if WINVER > &h0500 302 322 Const WM_GETOBJECT = &H003D 323 '#endif 303 324 Const WM_COMPACTING = &H0041 304 325 Const WM_COMMNOTIFY = &H0044 … … 412 433 Const WM_NCMBUTTONUP = &H00A8 413 434 Const WM_NCMBUTTONDBLCLK = &H00A9 414 435 '#if _WIN32_WINNT >= &h0500 436 Const WM_NCXBUTTONDOWN = &H00AB 437 Const WM_NCXBUTTONUP = &H00AC 438 Const WM_NCXBUTTONDBLCLK = &h00AD 439 '#endif 440 '#if _WIN32_WINNT >= &H0501 441 Const WM_INPUT_DEVICE_CHANGE = &H00FE 442 Const WM_INPUT = &H00FF 443 '#endif 415 444 Const WM_KEYFIRST = &H0100 416 445 Const WM_KEYDOWN = &H0100 … … 422 451 Const WM_SYSCHAR = &H0106 423 452 Const WM_SYSDEADCHAR = &H0107 424 Const WM_KEYLAST = &H0108 425 453 '#if _WIN32_WINNT >= &h0501 454 Const WM_UNICHAR = &H0109 455 Const UNICODE_NOCHAR = &HFFFF 456 Const WM_KEYLAST = &H0109 457 '#else 458 'Const WM_KEYLAST = &H0108 459 '#endif 426 460 Const WM_IME_STARTCOMPOSITION = &H010D 427 461 Const WM_IME_ENDCOMPOSITION = &H010E … … 482 516 Const MNC_SELECT = 3 483 517 Const WM_ENTERIDLE = &H0121 484 518 '#if WINVER >= &H0500 485 519 Const WM_MENURBUTTONUP = &H0122 486 520 Const WM_MENUDRAG = &H0123 … … 489 523 Const WM_MENUCOMMAND = &H0126 490 524 525 Const WM_CHANGEUISTATE = &H0127 526 Const WM_UPDATEUISTATE = &H0128 527 Const WM_QUERYUISTATE = &H0129 528 '#endif 491 529 Const WM_CTLCOLORMSGBOX = &H0132 492 530 Const WM_CTLCOLOREDIT = &H0133 … … 496 534 Const WM_CTLCOLORSCROLLBAR = &H0137 497 535 Const WM_CTLCOLORSTATIC = &H0138 536 Const MN_GETHMENU = &H01E1 498 537 499 538 Const WM_MOUSEFIRST = &H0200 … … 508 547 Const WM_MBUTTONUP = &H0208 509 548 Const WM_MBUTTONDBLCLK = &H0209 549 '#if _WIN32_WINNT >= &H0400 || _WIN32_WINDOWS > &H0400 510 550 Const WM_MOUSEWHEEL = &H020A 511 Const WM_MOUSELAST = &H020A 551 '#endif 552 '#if _WIN32_WINNT >= &H0500 553 Const WM_XBUTTONDOWN = &H020B 554 Const WM_XBUTTONUP = &H020C 555 Const WM_XBUTTONDBLCLK = &H020D 556 '#endif 557 '#if _WIN32_WINNT >= &H0600 558 Const WM_MOUSEHWHEEL = &H020E 559 '#endif 560 Const WM_MOUSELAST = &H020E 561 512 562 Const WHEEL_DELTA = 120 513 563 Const WHEEL_PAGESCROLL = &HFFFFFFFF 564 Const GET_WHEEL_DELTA_WPARAM(wp) = (HIWORD(wp) As Integer) 565 '#if _WIN32_WINNT >= &H0500 566 Const GET_KEYSTATE_WPARAM(wp) = (LOWORD(wp)) 567 Const GET_NCHITTEST_WPARAM(wp) = (LOWORD(wp) As Integer) 568 Const GET_XBUTTON_WPARAM(wp) = (HIWORD(wp)) 569 570 Const XBUTTON1 = &H0001 571 Const XBUTTON2 = &H0002 572 '#endif 514 573 515 574 Const WM_PARENTNOTIFY = &H0210 … … 517 576 Const WM_EXITMENULOOP = &H0212 518 577 578 Const WM_NEXTMENU = &H0213 519 579 Const WM_SIZING = &H0214 520 580 ' wParam for WM_SIZING message … … 547 607 Const PBT_APMOEMEVENT = &H000B 548 608 Const PBT_APMRESUMEAUTOMATIC = &H0012 609 '#if _WIN32_WINNT >= &H0502 610 Const PBT_POWERSETTINGCHANGE = &H0013 611 Type POWERBROADCAST_SETTING 612 PowerSetting As GUID 613 DataLength As DWord 614 Data[1] As Byte 615 End Type 616 '#endif 549 617 550 618 Const WM_DEVICECHANGE = &H0219 … … 552 620 Const WM_MDICREATE = &H0220 553 621 ' lParam of WM_MDICREATE message point to... 554 Type MDICREATESTRUCT 555 szClass As BytePtr556 szTitle As BytePtr622 Type MDICREATESTRUCTA 623 szClass As PCSTR 624 szTitle As PCSTR 557 625 hOwner As HANDLE 558 626 x As Long … … 563 631 lParam As LPARAM 564 632 End Type 633 Type MDICREATESTRUCTW 634 szClass As PCWSTR 635 szTitle As PCWSTR 636 hOwner As HANDLE 637 x As Long 638 y As Long 639 cx As Long 640 cy As Long 641 style As DWord 642 lParam As LPARAM 643 End Type 644 #ifdef UNICODE 645 TypeDef MDICREATESTRUCT = MDICREATESTRUCTW 646 #else 647 TypeDef MDICREATESTRUCT = MDICREATESTRUCTA 648 #endif 565 649 Const WM_MDIDESTROY = &H0221 566 650 Const WM_MDIACTIVATE = &H0222 … … 589 673 Const WM_IME_SELECT = &H0285 590 674 Const WM_IME_CHAR = &H0286 675 '#if WINVER >= 0x0500 591 676 Const WM_IME_REQUEST = &H0288 677 '#endif 592 678 Const WM_IME_KEYDOWN = &H0290 593 679 Const WM_IME_KEYUP = &H0291 594 680 '#if _WIN32_WINNT >= &H0400 Or WINVER >= &H0500 595 681 Const WM_MOUSEHOVER = &H02A1 596 682 Const WM_MOUSELEAVE = &H02A3 597 683 '#endif 684 '#if WINVER >= &H0500 685 Const WM_NCMOUSEHOVER = &H02A1 686 Const WM_NCMOUSELEAVE = &H02A3 687 '#endif 688 '#if _WIN32_WINNT >= &H0501 689 Const WM_WTSSESSION_CHANGE = &H02B1 690 691 Const WM_TABLET_FIRST = &H02C0 692 Const WM_TABLET_LAST = &H02DF 693 '#endif 598 694 Const WM_CUT = &H0300 599 695 Const WM_COPY = &H0301 … … 625 721 Const PRF_CHILDREN = &H00000010 626 722 Const PRF_OWNED = &H00000020 723 724 '#if _WIN32_WINNT >= &H0500 725 Const WM_APPCOMMAND = &H0319 726 '#endif 727 '#if _WIN32_WINNT >= &H0501 728 Const WM_THEMECHANGED = &H031A 729 '#endif 730 731 '#if _WIN32_WINNT >= &H0501 732 Const WM_CLIPBOARDUPDATE = &H031D 733 '#endif 734 735 '#if _WIN32_WINNT >= &H0600 736 Const WM_DWMCOMPOSITIONCHANGED = &H031E 737 Const WM_DWMNCRENDERINGCHANGED = &H031F 738 Const WM_DWMCOLORIZATIONCOLORCHANGED =&H0320 739 Const WM_DWMWINDOWMAXIMIZEDCHANGE = &H0321 740 '#endif 741 742 '#if WINVER >= &H0600 743 Const WM_GETTITLEBARINFOEX = &H033F 744 '#endif 627 745 628 746 Const WM_HANDHELDFIRST = &H0358
Note:
See TracChangeset
for help on using the changeset viewer.