1 /***********************************************************************\ 2 * tmschema.d * 3 * * 4 * Windows API header module * 5 * * 6 * Translated from MinGW Windows headers * 7 * * 8 * Placed into public domain * 9 \***********************************************************************/ 10 module win32.tmschema; 11 version(Windows): 12 13 /* BUTTON parts */ 14 enum { 15 BP_PUSHBUTTON = 1, 16 BP_RADIOBUTTON = 2, 17 BP_CHECKBOX = 3, 18 BP_GROUPBOX = 4, 19 BP_USERBUTTON = 5 20 } 21 22 enum { 23 CBS_UNCHECKEDNORMAL = 1, 24 CBS_UNCHECKEDHOT = 2, 25 CBS_UNCHECKEDPRESSED = 3, 26 CBS_UNCHECKEDDISABLED = 4, 27 CBS_CHECKEDNORMAL = 5, 28 CBS_CHECKEDHOT = 6, 29 CBS_CHECKEDPRESSED = 7, 30 CBS_CHECKEDDISABLED = 8, 31 CBS_MIXEDNORMAL = 9, 32 CBS_MIXEDHOT = 10, 33 CBS_MIXEDPRESSED = 11, 34 CBS_MIXEDDISABLED = 12 35 } 36 37 enum { 38 GBS_NORMAL = 1, 39 GBS_DISABLED = 2 40 } 41 42 enum { 43 PBS_NORMAL = 1, 44 PBS_HOT = 2, 45 PBS_PRESSED = 3, 46 PBS_DISABLED = 4, 47 PBS_DEFAULTED = 5 48 } 49 50 enum { 51 RBS_UNCHECKEDNORMAL = 1, 52 RBS_UNCHECKEDHOT = 2, 53 RBS_UNCHECKEDPRESSED = 3, 54 RBS_UNCHECKEDDISABLED = 4, 55 RBS_CHECKEDNORMAL = 5, 56 RBS_CHECKEDHOT = 6, 57 RBS_CHECKEDPRESSED = 7, 58 RBS_CHECKEDDISABLED = 8 59 } 60 61 /* CLOCK parts */ 62 enum { 63 CLP_TIME = 1 64 } 65 66 enum { 67 CLS_NORMAL = 1 68 } 69 70 /* COMBOBOX parts */ 71 enum { 72 CP_DROPDOWNBUTTON = 1 73 } 74 75 enum { 76 CBXS_NORMAL = 1, 77 CBXS_HOT = 2, 78 CBXS_PRESSED = 3, 79 CBXS_DISABLED = 4 80 } 81 82 /* EDIT parts */ 83 enum { 84 EP_EDITTEXT = 1, 85 EP_CARET = 2 86 } 87 88 enum { 89 ETS_NORMAL = 1, 90 ETS_HOT = 2, 91 ETS_SELECTED = 3, 92 ETS_DISABLED = 4, 93 ETS_FOCUSED = 5, 94 ETS_READONLY = 6, 95 ETS_ASSIST = 7 96 } 97 /* EXPLORERBAR parts */ 98 enum { 99 EBP_HEADERBACKGROUND = 1, 100 EBP_HEADERCLOSE = 2, 101 EBP_HEADERPIN = 3, 102 EBP_IEBARMENU = 4, 103 EBP_NORMALGROUPBACKGROUND = 5, 104 EBP_NORMALGROUPCOLLAPSE = 6, 105 EBP_NORMALGROUPEXPAND = 7, 106 EBP_NORMALGROUPHEAD = 8, 107 EBP_SPECIALGROUPBACKGROUND = 9, 108 EBP_SPECIALGROUPCOLLAPSE = 10, 109 EBP_SPECIALGROUPEXPAND = 11, 110 EBP_SPECIALGROUPHEAD = 12 111 } 112 113 enum { 114 EBHC_NORMAL = 1, 115 EBHC_HOT = 2, 116 EBHC_PRESSED = 3 117 } 118 119 enum { 120 EBHP_NORMAL = 1, 121 EBHP_HOT = 2, 122 EBHP_PRESSED = 3, 123 EBHP_SELECTEDNORMAL = 4, 124 EBHP_SELECTEDHOT = 5, 125 EBHP_SELECTEDPRESSED = 6 126 } 127 128 enum { 129 EBM_NORMAL = 1, 130 EBM_HOT = 2, 131 EBM_PRESSED = 3 132 } 133 134 enum { 135 EBNGC_NORMAL = 1, 136 EBNGC_HOT = 2, 137 EBNGC_PRESSED = 3 138 } 139 140 enum { 141 EBNGE_NORMAL = 1, 142 EBNGE_HOT = 2, 143 EBNGE_PRESSED = 3 144 } 145 146 enum { 147 EBSGC_NORMAL = 1, 148 EBSGC_HOT = 2, 149 EBSGC_PRESSED = 3 150 } 151 152 enum { 153 EBSGE_NORMAL = 1, 154 EBSGE_HOT = 2, 155 EBSGE_PRESSED = 3 156 } 157 158 /* HEADER parts */ 159 enum { 160 HP_HEADERITEM = 1, 161 HP_HEADERITEMLEFT = 2, 162 HP_HEADERITEMRIGHT = 3, 163 HP_HEADERSORTARROW = 4 164 } 165 166 enum { 167 HIS_NORMAL = 1, 168 HIS_HOT = 2, 169 HIS_PRESSED = 3 170 } 171 172 enum { 173 HILS_NORMAL = 1, 174 HILS_HOT = 2, 175 HILS_PRESSED = 3 176 } 177 178 enum { 179 HIRS_NORMAL = 1, 180 HIRS_HOT = 2, 181 HIRS_PRESSED = 3 182 } 183 184 enum { 185 HSAS_SORTEDUP = 1, 186 HSAS_SORTEDDOWN = 2 187 } 188 189 /* LISTVIEW parts */ 190 enum { 191 LVP_LISTITEM = 1, 192 LVP_LISTGROUP = 2, 193 LVP_LISTDETAIL = 3, 194 LVP_LISTSORTEDDETAIL = 4, 195 LVP_EMPTYTEXT = 5 196 } 197 198 enum { 199 LIS_NORMAL = 1, 200 LIS_HOT = 2, 201 LIS_SELECTED = 3, 202 LIS_DISABLED = 4, 203 LIS_SELECTEDNOTFOCUS = 5 204 } 205 206 /* MENU parts */ 207 enum { 208 MP_MENUITEM = 1, 209 MP_MENUDROPDOWN = 2, 210 MP_MENUBARITEM = 3, 211 MP_MENUBARDROPDOWN = 4, 212 MP_CHEVRON = 5, 213 MP_SEPARATOR = 6 214 } 215 216 enum { 217 MS_NORMAL = 1, 218 MS_SELECTED = 2, 219 MS_DEMOTED = 3 220 } 221 /* MENUBAND parts */ 222 enum { 223 MDP_NEWAPPBUTTON = 1, 224 MDP_SEPERATOR = 2 225 } 226 227 enum { 228 MDS_NORMAL = 1, 229 MDS_HOT = 2, 230 MDS_PRESSED = 3, 231 MDS_DISABLED = 4, 232 MDS_CHECKED = 5, 233 MDS_HOTCHECKED = 6 234 } 235 236 /* PAGE parts */ 237 enum { 238 PGRP_UP = 1, 239 PGRP_DOWN = 2, 240 PGRP_UPHORZ = 3, 241 PGRP_DOWNHORZ = 4 242 } 243 244 enum { 245 DNS_NORMAL = 1, 246 DNS_HOT = 2, 247 DNS_PRESSED = 3, 248 DNS_DISABLED = 4 249 } 250 251 enum { 252 DNHZS_NORMAL = 1, 253 DNHZS_HOT = 2, 254 DNHZS_PRESSED = 3, 255 DNHZS_DISABLED = 4 256 } 257 258 enum { 259 UPS_NORMAL = 1, 260 UPS_HOT = 2, 261 UPS_PRESSED = 3, 262 UPS_DISABLED = 4 263 } 264 265 enum { 266 UPHZS_NORMAL = 1, 267 UPHZS_HOT = 2, 268 UPHZS_PRESSED = 3, 269 UPHZS_DISABLED = 4 270 } 271 272 /* PROGRESS parts */ 273 enum { 274 PP_BAR = 1, 275 PP_BARVERT = 2, 276 PP_CHUNK = 3, 277 PP_CHUNKVERT = 4 278 } 279 280 /* REBAR parts */ 281 enum { 282 RP_GRIPPER = 1, 283 RP_GRIPPERVERT = 2, 284 RP_BAND = 3, 285 RP_CHEVRON = 4, 286 RP_CHEVRONVERT = 5 287 } 288 289 enum { 290 CHEVS_NORMAL = 1, 291 CHEVS_HOT = 2, 292 CHEVS_PRESSED = 3 293 } 294 295 /* SCROLLBAR parts */ 296 enum { 297 SBP_ARROWBTN = 1, 298 SBP_THUMBBTNHORZ = 2, 299 SBP_THUMBBTNVERT = 3, 300 SBP_LOWERTRACKHORZ = 4, 301 SBP_UPPERTRACKHORZ = 5, 302 SBP_LOWERTRACKVERT = 6, 303 SBP_UPPERTRACKVERT = 7, 304 SBP_GRIPPERHORZ = 8, 305 SBP_GRIPPERVERT = 9, 306 SBP_SIZEBOX = 10 307 } 308 309 enum { 310 ABS_UPNORMAL = 1, 311 ABS_UPHOT = 2, 312 ABS_UPPRESSED = 3, 313 ABS_UPDISABLED = 4, 314 ABS_DOWNNORMAL = 5, 315 ABS_DOWNHOT = 6, 316 ABS_DOWNPRESSED = 7, 317 ABS_DOWNDISABLED = 8, 318 ABS_LEFTNORMAL = 9, 319 ABS_LEFTHOT = 10, 320 ABS_LEFTPRESSED = 11, 321 ABS_LEFTDISABLED = 12, 322 ABS_RIGHTNORMAL = 13, 323 ABS_RIGHTHOT = 14, 324 ABS_RIGHTPRESSED = 15, 325 ABS_RIGHTDISABLED = 16 326 } 327 328 enum { 329 SCRBS_NORMAL = 1, 330 SCRBS_HOT = 2, 331 SCRBS_PRESSED = 3, 332 SCRBS_DISABLED = 4 333 } 334 335 enum { 336 SZB_RIGHTALIGN = 1, 337 SZB_LEFTALIGN = 2 338 } 339 340 /* SPIN parts */ 341 enum { 342 SPNP_UP = 1, 343 SPNP_DOWN = 2, 344 SPNP_UPHORZ = 3, 345 SPNP_DOWNHORZ = 4 346 } 347 348 /* STARTPANEL parts */ 349 enum { 350 SPP_USERPANE = 1, 351 SPP_MOREPROGRAMS = 2, 352 SPP_MOREPROGRAMSARROW = 3, 353 SPP_PROGLIST = 4, 354 SPP_PROGLISTSEPARATOR = 5, 355 SPP_PLACESLIST = 6, 356 SPP_PLACESLISTSEPARATOR = 7, 357 SPP_LOGOFF = 8, 358 SPP_LOGOFFBUTTONS = 9, 359 SPP_USERPICTURE = 10, 360 SPP_PREVIEW = 11 361 } 362 363 enum { 364 SPLS_NORMAL = 1, 365 SPLS_HOT = 2, 366 SPLS_PRESSED = 3 367 } 368 369 enum { 370 SPS_NORMAL = 1, 371 SPS_HOT = 2, 372 SPS_PRESSED = 3 373 } 374 375 /* STATUS parts */ 376 enum { 377 SP_PANE = 1, 378 SP_GRIPPERPANE = 2, 379 SP_GRIPPER = 3 380 } 381 382 /* TAB parts */ 383 enum { 384 TABP_TABITEM = 1, 385 TABP_TABITEMLEFTEDGE = 2, 386 TABP_TABITEMRIGHTEDGE = 3, 387 TABP_TABITEMBOTHEDGE = 4, 388 TABP_TOPTABITEM = 5, 389 TABP_TOPTABITEMLEFTEDGE = 6, 390 TABP_TOPTABITEMRIGHTEDGE = 7, 391 TABP_TOPTABITEMBOTHEDGE = 8, 392 TABP_PANE = 9, 393 TABP_BODY = 10 394 } 395 396 enum { 397 TIS_NORMAL = 1, 398 TIS_HOT = 2, 399 TIS_SELECTED = 3, 400 TIS_DISABLED = 4, 401 TIS_FOCUSED = 5 402 } 403 404 enum { 405 TIBES_NORMAL = 1, 406 TIBES_HOT = 2, 407 TIBES_SELECTED = 3, 408 TIBES_DISABLED = 4, 409 TIBES_FOCUSED = 5 410 } 411 412 enum { 413 TILES_NORMAL = 1, 414 TILES_HOT = 2, 415 TILES_SELECTED = 3, 416 TILES_DISABLED = 4, 417 TILES_FOCUSED = 5 418 } 419 420 enum { 421 TIRES_NORMAL = 1, 422 TIRES_HOT = 2, 423 TIRES_SELECTED = 3, 424 TIRES_DISABLED = 4, 425 TIRES_FOCUSED = 5 426 } 427 428 enum { 429 TTIS_NORMAL = 1, 430 TTIS_HOT = 2, 431 TTIS_SELECTED = 3, 432 TTIS_DISABLED = 4, 433 TTIS_FOCUSED = 5 434 } 435 436 enum { 437 TTIBES_NORMAL = 1, 438 TTIBES_HOT = 2, 439 TTIBES_SELECTED = 3, 440 TTIBES_DISABLED = 4, 441 TTIBES_FOCUSED = 5 442 } 443 444 enum { 445 TTILES_NORMAL = 1, 446 TTILES_HOT = 2, 447 TTILES_SELECTED = 3, 448 TTILES_DISABLED = 4, 449 TTILES_FOCUSED = 5 450 } 451 452 enum { 453 TTIRES_NORMAL = 1, 454 TTIRES_HOT = 2, 455 TTIRES_SELECTED = 3, 456 TTIRES_DISABLED = 4, 457 TTIRES_FOCUSED = 5 458 } 459 460 /* TASKBAND parts */ 461 enum { 462 TDP_GROUPCOUNT = 1, 463 TDP_FLASHBUTTON = 2, 464 TDP_FLASHBUTTONGROUPMENU = 3 465 } 466 467 /* TASKBAR parts */ 468 enum { 469 TBP_BACKGROUNDBOTTOM = 1, 470 TBP_BACKGROUNDRIGHT = 2, 471 TBP_BACKGROUNDTOP = 3, 472 TBP_BACKGROUNDLEFT = 4, 473 TBP_SIZINGBARBOTTOM = 5, 474 TBP_SIZINGBARRIGHT = 6, 475 TBP_SIZINGBARTOP = 7, 476 TBP_SIZINGBARLEFT = 8 477 } 478 479 /* TOOLBAR parts */ 480 enum { 481 TP_BUTTON = 1, 482 TP_DROPDOWNBUTTON = 2, 483 TP_SPLITBUTTON = 3, 484 TP_SPLITBUTTONDROPDOWN = 4, 485 TP_SEPARATOR = 5, 486 TP_SEPARATORVERT = 6 487 } 488 489 enum { 490 TS_NORMAL = 1, 491 TS_HOT = 2, 492 TS_PRESSED = 3, 493 TS_DISABLED = 4, 494 TS_CHECKED = 5, 495 TS_HOTCHECKED = 6 496 } 497 498 /* TOOLTIP parts */ 499 enum { 500 TTP_STANDARD = 1, 501 TTP_STANDARDTITLE = 2, 502 TTP_BALLOON = 3, 503 TTP_BALLOONTITLE = 4, 504 TTP_CLOSE = 5 505 } 506 507 enum { 508 TTBS_NORMAL = 1, 509 TTBS_LINK = 2 510 } 511 512 enum { 513 TTCS_NORMAL = 1, 514 TTCS_HOT = 2, 515 TTCS_PRESSED = 3 516 } 517 518 enum { 519 TTSS_NORMAL = 1, 520 TTSS_LINK = 2 521 } 522 523 /* TRACKBAR parts */ 524 enum { 525 TKP_TRACK = 1, 526 TKP_TRACKVERT = 2, 527 TKP_THUMB = 3, 528 TKP_THUMBBOTTOM = 4, 529 TKP_THUMBTOP = 5, 530 TKP_THUMBVERT = 6, 531 TKP_THUMBLEFT = 7, 532 TKP_THUMBRIGHT = 8, 533 TKP_TICS = 9, 534 TKP_TICSVERT = 10 535 } 536 537 enum { 538 TUS_NORMAL = 1, 539 TUS_HOT = 2, 540 TUS_PRESSED = 3, 541 TUS_FOCUSED = 4, 542 TUS_DISABLED = 5 543 } 544 545 enum { 546 TUBS_NORMAL = 1, 547 TUBS_HOT = 2, 548 TUBS_PRESSED = 3, 549 TUBS_FOCUSED = 4, 550 TUBS_DISABLED = 5 551 } 552 553 enum { 554 TUVLS_NORMAL = 1, 555 TUVLS_HOT = 2, 556 TUVLS_PRESSED = 3, 557 TUVLS_FOCUSED = 4, 558 TUVLS_DISABLED = 5 559 } 560 561 enum { 562 TUVRS_NORMAL = 1, 563 TUVRS_HOT = 2, 564 TUVRS_PRESSED = 3, 565 TUVRS_FOCUSED = 4, 566 TUVRS_DISABLED = 5 567 } 568 569 enum { 570 TUTS_NORMAL = 1, 571 TUTS_HOT = 2, 572 TUTS_PRESSED = 3, 573 TUTS_FOCUSED = 4, 574 TUTS_DISABLED = 5 575 } 576 577 enum { 578 TUVS_NORMAL = 1, 579 TUVS_HOT = 2, 580 TUVS_PRESSED = 3, 581 TUVS_FOCUSED = 4, 582 TUVS_DISABLED = 5 583 } 584 585 enum { 586 TSS_NORMAL = 1 587 } 588 589 enum { 590 TSVS_NORMAL = 1 591 } 592 593 enum { 594 TRS_NORMAL = 1 595 } 596 597 enum { 598 TRVS_NORMAL = 1 599 } 600 601 /* TRAYNOTIFY parts */ 602 enum { 603 TNP_BACKGROUND = 1, 604 TNP_ANIMBACKGROUND = 2 605 } 606 607 /* TREEVIEW parts */ 608 enum { 609 TVP_TREEITEM = 1, 610 TVP_GLYPH = 2, 611 TVP_BRANCH = 3 612 } 613 614 enum { 615 GLPS_CLOSED = 1, 616 GLPS_OPENED = 2 617 } 618 619 enum { 620 TREIS_NORMAL = 1, 621 TREIS_HOT = 2, 622 TREIS_SELECTED = 3, 623 TREIS_DISABLED = 4, 624 TREIS_SELECTEDNOTFOCUS = 5 625 } 626 627 /* WINDOW parts */ 628 enum { 629 WP_CAPTION = 1, 630 WP_SMALLCAPTION = 2, 631 WP_MINCAPTION = 3, 632 WP_SMALLMINCAPTION = 4, 633 WP_MAXCAPTION = 5, 634 WP_SMALLMAXCAPTION = 6, 635 WP_FRAMELEFT = 7, 636 WP_FRAMERIGHT = 8, 637 WP_FRAMEBOTTOM = 9, 638 WP_SMALLFRAMELEFT = 10, 639 WP_SMALLFRAMERIGHT = 11, 640 WP_SMALLFRAMEBOTTOM = 12, 641 WP_SYSBUTTON = 13, 642 WP_MDISYSBUTTON = 14, 643 WP_MINBUTTON = 15, 644 WP_MDIMINBUTTON = 16, 645 WP_MAXBUTTON = 17, 646 WP_CLOSEBUTTON = 18, 647 WP_SMALLCLOSEBUTTON = 19, 648 WP_MDICLOSEBUTTON = 20, 649 WP_RESTOREBUTTON = 21, 650 WP_MDIRESTOREBUTTON = 22, 651 WP_HELPBUTTON = 23, 652 WP_MDIHELPBUTTON = 24, 653 WP_HORZSCROLL = 25, 654 WP_HORZTHUMB = 26, 655 WP_VERTSCROLL = 27, 656 WP_VERTTHUMB = 28, 657 WP_DIALOG = 29, 658 WP_CAPTIONSIZINGTEMPLATE = 30, 659 WP_SMALLCAPTIONSIZINGTEMPLATE = 31, 660 WP_FRAMELEFTSIZINGTEMPLATE = 32, 661 WP_SMALLFRAMELEFTSIZINGTEMPLATE = 33, 662 WP_FRAMERIGHTSIZINGTEMPLATE = 34, 663 WP_SMALLFRAMERIGHTSIZINGTEMPLATE = 35, 664 WP_FRAMEBOTTOMSIZINGTEMPLATE = 36, 665 WP_SMALLFRAMEBOTTOMSIZINGTEMPLATE = 37 666 } 667 668 enum { 669 CS_ACTIVE = 1, 670 CS_INACTIVE = 2, 671 CS_DISABLED = 3 672 } 673 674 enum { 675 CBS_NORMAL = 1, 676 CBS_HOT = 2, 677 CBS_PUSHED = 3, 678 CBS_DISABLED = 4 679 } 680 681 enum { 682 FS_ACTIVE = 1, 683 FS_INACTIVE = 2 684 } 685 686 enum { 687 HBS_NORMAL = 1, 688 HBS_HOT = 2, 689 HBS_PUSHED = 3, 690 HBS_DISABLED = 4 691 } 692 693 enum { 694 HSS_NORMAL = 1, 695 HSS_HOT = 2, 696 HSS_PUSHED = 3, 697 HSS_DISABLED = 4 698 } 699 700 enum { 701 HTS_NORMAL = 1, 702 HTS_HOT = 2, 703 HTS_PUSHED = 3, 704 HTS_DISABLED = 4 705 } 706 707 enum { 708 MAXBS_NORMAL = 1, 709 MAXBS_HOT = 2, 710 MAXBS_PUSHED = 3, 711 MAXBS_DISABLED = 4 712 } 713 714 enum { 715 MXCS_ACTIVE = 1, 716 MXCS_INACTIVE = 2, 717 MXCS_DISABLED = 3 718 } 719 720 enum { 721 MINBS_NORMAL = 1, 722 MINBS_HOT = 2, 723 MINBS_PUSHED = 3, 724 MINBS_DISABLED = 4 725 } 726 727 enum { 728 RBS_NORMAL = 1, 729 RBS_HOT = 2, 730 RBS_PUSHED = 3, 731 RBS_DISABLED = 4 732 } 733 734 enum { 735 SBS_NORMAL = 1, 736 SBS_HOT = 2, 737 SBS_PUSHED = 3, 738 SBS_DISABLED = 4 739 } 740 741 enum { 742 MNCS_ACTIVE = 1, 743 MNCS_INACTIVE = 2, 744 MNCS_DISABLED = 3 745 } 746 747 enum { 748 VSS_NORMAL = 1, 749 VSS_HOT = 2, 750 VSS_PUSHED = 3, 751 VSS_DISABLED = 4 752 } 753 754 enum { 755 VTS_NORMAL = 1, 756 VTS_HOT = 2, 757 VTS_PUSHED = 3, 758 VTS_DISABLED = 4 759 }