1 /* 2 * Copyright (C) 2011 Piotr Caban for CodeWeavers 3 * 4 * This library is free software; you can redistribute it and/or 5 * modify it under the terms of the GNU Lesser General Public 6 * License as published by the Free Software Foundation; either 7 * version 2.1 of the License, or (at your option) any later version. 8 * 9 * This library is distributed in the hope that it will be useful, 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 * Lesser General Public License for more details. 13 * 14 * You should have received a copy of the GNU Lesser General Public 15 * License along with this library; if not, write to the Free Software 16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA 17 */ 18 19 #ifndef __VSSYM32_H__ 20 #define __VSSYM32_H__ 21 22 #include "vsstyle.h" 23 24 25 enum BGTYPE { 26 BT_IMAGEFILE = 0, 27 BT_BORDERFILL = 1, 28 BT_NONE = 2, 29 }; 30 31 enum IMAGELAYOUT { 32 IL_VERTICAL = 0, 33 IL_HORIZONTAL = 1, 34 }; 35 36 enum BORDERTYPE { 37 BT_RECT = 0, 38 BT_ROUNDRECT = 1, 39 BT_ELLIPSE = 2, 40 }; 41 42 enum FILLTYPE { 43 FT_SOLID = 0, 44 FT_VERTGRADIENT = 1, 45 FT_HORZGRADIENT = 2, 46 FT_RADIALGRADIENT = 3, 47 FT_TILEIMAGE = 4, 48 }; 49 50 enum SIZINGTYPE { 51 ST_TRUESIZE = 0, 52 ST_STRETCH = 1, 53 ST_TILE = 2, 54 }; 55 56 enum HALIGN { 57 HA_LEFT = 0, 58 HA_CENTER = 1, 59 HA_RIGHT = 2, 60 }; 61 62 enum CONTENTALIGNMENT { 63 CA_LEFT = 0, 64 CA_CENTER = 1, 65 CA_RIGHT = 2, 66 }; 67 68 enum VALIGN { 69 VA_TOP = 0, 70 VA_CENTER = 1, 71 VA_BOTTOM = 2, 72 }; 73 74 enum OFFSETTYPE { 75 OT_TOPLEFT = 0, 76 OT_TOPRIGHT = 1, 77 OT_TOPMIDDLE = 2, 78 OT_BOTTOMLEFT = 3, 79 OT_BOTTOMRIGHT = 4, 80 OT_BOTTOMMIDDLE = 5, 81 OT_MIDDLELEFT = 6, 82 OT_MIDDLERIGHT = 7, 83 OT_LEFTOFCAPTION = 8, 84 OT_RIGHTOFCAPTION = 9, 85 OT_LEFTOFLASTBUTTON = 10, 86 OT_RIGHTOFLASTBUTTON = 11, 87 OT_ABOVELASTBUTTON = 12, 88 OT_BELOWLASTBUTTON = 13, 89 }; 90 91 enum ICONEFFECT { 92 ICE_NONE = 0, 93 ICE_GLOW = 1, 94 ICE_SHADOW = 2, 95 ICE_PULSE = 3, 96 ICE_ALPHA = 4, 97 }; 98 99 enum TEXTSHADOWTYPE { 100 TST_NONE = 0, 101 TST_SINGLE = 1, 102 TST_CONTINUOUS = 2, 103 }; 104 105 enum GLYPHTYPE { 106 GT_NONE = 0, 107 GT_IMAGEGLYPH = 1, 108 GT_FONTGLYPH = 2, 109 }; 110 111 enum IMAGESELECTTYPE { 112 IST_NONE = 0, 113 IST_SIZE = 1, 114 IST_DPI = 2, 115 }; 116 117 enum TRUESIZESCALINGTYPE { 118 TSST_NONE = 0, 119 TSST_SIZE = 1, 120 TSST_DPI = 2, 121 }; 122 123 enum GLYPHFONTSIZINGTYPE { 124 GFST_NONE = 0, 125 GFST_SIZE = 1, 126 GFST_DPI = 2, 127 }; 128 129 #define TMT_RESERVEDLOW 0 130 #define TMT_RESERVEDHIGH 7999 131 132 #define TMT_DIBDATA 2 133 #define TMT_GLYPHDIBDATA 8 134 #define TMT_ENUM 200 135 #define TMT_STRING 201 136 #define TMT_INT 202 137 #define TMT_BOOL 203 138 #define TMT_COLOR 204 139 #define TMT_MARGINS 205 140 #define TMT_FILENAME 206 141 #define TMT_SIZE 207 142 #define TMT_POSITION 208 143 #define TMT_RECT 209 144 #define TMT_FONT 210 145 #define TMT_INTLIST 211 146 #define TMT_HBITMAP 212 147 #define TMT_DISKSTREAM 213 148 #define TMT_STREAM 214 149 #define TMT_BITMAPREF 215 150 #define TMT_COLORSCHEMES 401 151 #define TMT_SIZES 402 152 #define TMT_CHARSET 403 153 #define TMT_NAME 600 154 #define TMT_DISPLAYNAME 601 155 #define TMT_TOOLTIP 602 156 #define TMT_COMPANY 603 157 #define TMT_AUTHOR 604 158 #define TMT_COPYRIGHT 605 159 #define TMT_URL 606 160 #define TMT_VERSION 607 161 #define TMT_DESCRIPTION 608 162 #define TMT_FIRST_RCSTRING_NAME TMT_DISPLAYNAME 163 #define TMT_LAST_RCSTRING_NAME TMT_DESCRIPTION 164 #define TMT_CAPTIONFONT 801 165 #define TMT_SMALLCAPTIONFONT 802 166 #define TMT_MENUFONT 803 167 #define TMT_STATUSFONT 804 168 #define TMT_MSGBOXFONT 805 169 #define TMT_ICONTITLEFONT 806 170 #define TMT_HEADING1FONT 807 171 #define TMT_HEADING2FONT 808 172 #define TMT_BODYFONT 809 173 #define TMT_FIRSTFONT TMT_CAPTIONFONT 174 #define TMT_LASTFONT TMT_BODYFONT 175 #define TMT_FLATMENUS 1001 176 #define TMT_FIRSTBOOL TMT_FLATMENUS 177 #define TMT_LASTBOOL TMT_FLATMENUS 178 #define TMT_SIZINGBORDERWIDTH 1201 179 #define TMT_SCROLLBARWIDTH 1202 180 #define TMT_SCROLLBARHEIGHT 1203 181 #define TMT_CAPTIONBARWIDTH 1204 182 #define TMT_CAPTIONBARHEIGHT 1205 183 #define TMT_SMCAPTIONBARWIDTH 1206 184 #define TMT_SMCAPTIONBARHEIGHT 1207 185 #define TMT_MENUBARWIDTH 1208 186 #define TMT_MENUBARHEIGHT 1209 187 #define TMT_PADDEDBORDERWIDTH 1210 188 #define TMT_FIRSTSIZE TMT_SIZINGBORDERWIDTH 189 #define TMT_LASTSIZE TMT_PADDEDBORDERWIDTH 190 #define TMT_MINCOLORDEPTH 1301 191 #define TMT_FIRSTINT TMT_MINCOLORDEPTH 192 #define TMT_LASTINT TMT_MINCOLORDEPTH 193 #define TMT_CSSNAME 1401 194 #define TMT_XMLNAME 1402 195 #define TMT_LASTUPDATED 1403 196 #define TMT_ALIAS 1404 197 #define TMT_FIRSTSTRING TMT_CSSNAME 198 #define TMT_LASTSTRING TMT_ALIAS 199 #define TMT_SCROLLBAR 1601 200 #define TMT_BACKGROUND 1602 201 #define TMT_ACTIVECAPTION 1603 202 #define TMT_INACTIVECAPTION 1604 203 #define TMT_MENU 1605 204 #define TMT_WINDOW 1606 205 #define TMT_WINDOWFRAME 1607 206 #define TMT_MENUTEXT 1608 207 #define TMT_WINDOWTEXT 1609 208 #define TMT_CAPTIONTEXT 1610 209 #define TMT_ACTIVEBORDER 1611 210 #define TMT_INACTIVEBORDER 1612 211 #define TMT_APPWORKSPACE 1613 212 #define TMT_HIGHLIGHT 1614 213 #define TMT_HIGHLIGHTTEXT 1615 214 #define TMT_BTNFACE 1616 215 #define TMT_BTNSHADOW 1617 216 #define TMT_GRAYTEXT 1618 217 #define TMT_BTNTEXT 1619 218 #define TMT_INACTIVECAPTIONTEXT 1620 219 #define TMT_BTNHIGHLIGHT 1621 220 #define TMT_DKSHADOW3D 1622 221 #define TMT_LIGHT3D 1623 222 #define TMT_INFOTEXT 1624 223 #define TMT_INFOBK 1625 224 #define TMT_BUTTONALTERNATEFACE 1626 225 #define TMT_HOTTRACKING 1627 226 #define TMT_GRADIENTACTIVECAPTION 1628 227 #define TMT_GRADIENTINACTIVECAPTION 1629 228 #define TMT_MENUHILIGHT 1630 229 #define TMT_MENUBAR 1631 230 #define TMT_FIRSTCOLOR TMT_SCROLLBAR 231 #define TMT_LASTCOLOR TMT_MENUBAR 232 #define TMT_FROMHUE1 1801 233 #define TMT_FROMHUE2 1802 234 #define TMT_FROMHUE3 1803 235 #define TMT_FROMHUE4 1804 236 #define TMT_FROMHUE5 1805 237 #define TMT_TOHUE1 1806 238 #define TMT_TOHUE2 1807 239 #define TMT_TOHUE3 1808 240 #define TMT_TOHUE4 1809 241 #define TMT_TOHUE5 1810 242 #define TMT_FROMCOLOR1 2001 243 #define TMT_FROMCOLOR2 2002 244 #define TMT_FROMCOLOR3 2003 245 #define TMT_FROMCOLOR4 2004 246 #define TMT_FROMCOLOR5 2005 247 #define TMT_TOCOLOR1 2006 248 #define TMT_TOCOLOR2 2007 249 #define TMT_TOCOLOR3 2008 250 #define TMT_TOCOLOR4 2009 251 #define TMT_TOCOLOR5 2010 252 #define TMT_TRANSPARENT 2201 253 #define TMT_AUTOSIZE 2202 254 #define TMT_BORDERONLY 2203 255 #define TMT_COMPOSITED 2204 256 #define TMT_BGFILL 2205 257 #define TMT_GLYPHTRANSPARENT 2206 258 #define TMT_GLYPHONLY 2207 259 #define TMT_ALWAYSSHOWSIZINGBAR 2208 260 #define TMT_MIRRORIMAGE 2209 261 #define TMT_UNIFORMSIZING 2210 262 #define TMT_INTEGRALSIZING 2211 263 #define TMT_SOURCEGROW 2212 264 #define TMT_SOURCESHRINK 2213 265 #define TMT_DRAWBORDERS 2214 266 #define TMT_NOETCHEDEFFECT 2215 267 #define TMT_TEXTAPPLYOVERLAY 2216 268 #define TMT_TEXTGLOW 2217 269 #define TMT_TEXTITALIC 2218 270 #define TMT_COMPOSITEDOPAQUE 2219 271 #define TMT_LOCALIZEDMIRRORIMAGE 2220 272 #define TMT_IMAGECOUNT 2401 273 #define TMT_ALPHALEVEL 2402 274 #define TMT_BORDERSIZE 2403 275 #define TMT_ROUNDCORNERWIDTH 2404 276 #define TMT_ROUNDCORNERHEIGHT 2405 277 #define TMT_GRADIENTRATIO1 2406 278 #define TMT_GRADIENTRATIO2 2407 279 #define TMT_GRADIENTRATIO3 2408 280 #define TMT_GRADIENTRATIO4 2409 281 #define TMT_GRADIENTRATIO5 2410 282 #define TMT_PROGRESSCHUNKSIZE 2411 283 #define TMT_PROGRESSSPACESIZE 2412 284 #define TMT_SATURATION 2413 285 #define TMT_TEXTBORDERSIZE 2414 286 #define TMT_ALPHATHRESHOLD 2415 287 #define TMT_WIDTH 2416 288 #define TMT_HEIGHT 2417 289 #define TMT_GLYPHINDEX 2418 290 #define TMT_TRUESIZESTRETCHMARK 2419 291 #define TMT_MINDPI1 2420 292 #define TMT_MINDPI2 2421 293 #define TMT_MINDPI3 2422 294 #define TMT_MINDPI4 2423 295 #define TMT_MINDPI5 2424 296 #define TMT_TEXTGLOWSIZE 2425 297 #define TMT_FRAMESPERSECOND 2426 298 #define TMT_PIXELSPERFRAME 2427 299 #define TMT_ANIMATIONDELAY 2428 300 #define TMT_GLOWINTENSITY 2429 301 #define TMT_OPACITY 2430 302 #define TMT_COLORIZATIONCOLOR 2431 303 #define TMT_COLORIZATIONOPACITY 2432 304 #define TMT_GLYPHFONT 2601 305 #define TMT_IMAGEFILE 3001 306 #define TMT_IMAGEFILE1 3002 307 #define TMT_IMAGEFILE2 3003 308 #define TMT_IMAGEFILE3 3004 309 #define TMT_IMAGEFILE4 3005 310 #define TMT_IMAGEFILE5 3006 311 #define TMT_GLYPHIMAGEFILE 3008 312 #define TMT_TEXT 3201 313 #define TMT_CLASSICVALUE 3202 314 #define TMT_OFFSET 3401 315 #define TMT_TEXTSHADOWOFFSET 3402 316 #define TMT_MINSIZE 3403 317 #define TMT_MINSIZE1 3404 318 #define TMT_MINSIZE2 3405 319 #define TMT_MINSIZE3 3406 320 #define TMT_MINSIZE4 3407 321 #define TMT_MINSIZE5 3408 322 #define TMT_NORMALSIZE 3409 323 #define TMT_SIZINGMARGINS 3601 324 #define TMT_CONTENTMARGINS 3602 325 #define TMT_CAPTIONMARGINS 3603 326 #define TMT_BORDERCOLOR 3801 327 #define TMT_FILLCOLOR 3802 328 #define TMT_TEXTCOLOR 3803 329 #define TMT_EDGELIGHTCOLOR 3804 330 #define TMT_EDGEHIGHLIGHTCOLOR 3805 331 #define TMT_EDGESHADOWCOLOR 3806 332 #define TMT_EDGEDKSHADOWCOLOR 3807 333 #define TMT_EDGEFILLCOLOR 3808 334 #define TMT_TRANSPARENTCOLOR 3809 335 #define TMT_GRADIENTCOLOR1 3810 336 #define TMT_GRADIENTCOLOR2 3811 337 #define TMT_GRADIENTCOLOR3 3812 338 #define TMT_GRADIENTCOLOR4 3813 339 #define TMT_GRADIENTCOLOR5 3814 340 #define TMT_SHADOWCOLOR 3815 341 #define TMT_GLOWCOLOR 3816 342 #define TMT_TEXTBORDERCOLOR 3817 343 #define TMT_TEXTSHADOWCOLOR 3818 344 #define TMT_GLYPHTEXTCOLOR 3819 345 #define TMT_GLYPHTRANSPARENTCOLOR 3820 346 #define TMT_FILLCOLORHINT 3821 347 #define TMT_BORDERCOLORHINT 3822 348 #define TMT_ACCENTCOLORHINT 3823 349 #define TMT_TEXTCOLORHINT 3824 350 #define TMT_HEADING1TEXTCOLOR 3825 351 #define TMT_HEADING2TEXTCOLOR 3826 352 #define TMT_BODYTEXTCOLOR 3827 353 #define TMT_BGTYPE 4001 354 #define TMT_BORDERTYPE 4002 355 #define TMT_FILLTYPE 4003 356 #define TMT_SIZINGTYPE 4004 357 #define TMT_HALIGN 4005 358 #define TMT_CONTENTALIGNMENT 4006 359 #define TMT_VALIGN 4007 360 #define TMT_OFFSETTYPE 4008 361 #define TMT_ICONEFFECT 4009 362 #define TMT_TEXTSHADOWTYPE 4010 363 #define TMT_IMAGELAYOUT 4011 364 #define TMT_GLYPHTYPE 4012 365 #define TMT_IMAGESELECTTYPE 4013 366 #define TMT_GLYPHFONTSIZINGTYPE 4014 367 #define TMT_TRUESIZESCALINGTYPE 4015 368 #define TMT_USERPICTURE 5001 369 #define TMT_DEFAULTPANESIZE 5002 370 #define TMT_BLENDCOLOR 5003 371 #define TMT_CUSTOMSPLITRECT 5004 372 #define TMT_ANIMATIONBUTTONRECT 5005 373 #define TMT_ANIMATIONDURATION 5006 374 #define TMT_TRANSITIONDURATIONS 6000 375 #define TMT_SCALEDBACKGROUND 7001 376 #define TMT_ATLASIMAGE 8000 377 #define TMT_ATLASINPUTIMAGE 8001 378 #define TMT_ATLASRECT 8002 379 380 /* LINK class */ 381 #if defined(__GNUC__) 382 #define VSCLASS_LINK (const WCHAR []){'L','I','N','K',0} 383 #elif defined(_MSC_VER) 384 #define VSCLASS_LINK L"LINK" 385 #else 386 static const WCHAR VSCLASS_LINK[] = {'L','I','N','K',0}; 387 #endif 388 389 enum LINKPARTS { 390 LP_HYPERLINK = 1, 391 }; 392 393 enum HYPERLINKSTATES { 394 HLS_NORMALTEXT = 1, 395 HLS_LINKTEXT = 2, 396 }; 397 398 /* EMPTYMARKUP class */ 399 #if defined(__GNUC__) 400 #define VSCLASS_EMPTYMARKUP (const WCHAR []){'E','M','P','T','Y','M','A','R','K','U','P',0} 401 #elif defined(_MSC_VER) 402 #define VSCLASS_EMPTYMARKUP L"EMPTYMARKUP" 403 #else 404 static const WCHAR VSCLASS_EMPTYMARKUP[] = {'E','M','P','T','Y','M','A','R','K','U','P',0}; 405 #endif 406 407 enum EMPTYMARKUPPARTS { 408 EMP_MARKUPTEXT = 1, 409 }; 410 411 enum MARKUPTEXTSTATES { 412 EMT_NORMALTEXT = 1, 413 EMT_LINKTEXT = 2, 414 }; 415 416 /* STATIC class */ 417 #if defined(__GNUC__) 418 #define VSCLASS_STATIC (const WCHAR []){'S','T','A','T','I','C',0} 419 #elif defined(_MSC_VER) 420 #define VSCLASS_STATIC L"STATIC" 421 #else 422 static const WCHAR VSCLASS_STATIC[] = {'S','T','A','T','I','C',0}; 423 #endif 424 425 enum STATICPARTS { 426 STAT_TEXT = 1, 427 }; 428 429 /* PAGE class */ 430 #if defined(__GNUC__) 431 #define VSCLASS_PAGE (const WCHAR []){'P','A','G','E',0} 432 #elif defined(_MSC_VER) 433 #define VSCLASS_PAGE L"PAGE" 434 #else 435 static const WCHAR VSCLASS_PAGE[] = {'P','A','G','E',0}; 436 #endif 437 438 enum PAGEPARTS { 439 PGRP_UP = 1, 440 PGRP_DOWN = 2, 441 PGRP_UPHORZ = 3, 442 PGRP_DOWNHORZ = 4, 443 }; 444 445 /* MONTHCAL class */ 446 #if defined(__GNUC__) 447 #define VSCLASS_MONTHCAL (const WCHAR []){'M','O','N','T','H','C','A','L',0} 448 #elif defined(_MSC_VER) 449 #define VSCLASS_MONTHCAL L"MONTHCAL" 450 #else 451 static const WCHAR VSCLASS_MONTHCAL[] = {'M','O','N','T','H','C','A','L',0}; 452 #endif 453 454 enum MONTHCALPARTS { 455 MC_BACKGROUND = 1, 456 MC_BORDERS = 2, 457 MC_GRIDBACKGROUND = 3, 458 MC_COLHEADERSPLITTER = 4, 459 MC_GRIDCELLBACKGROUND = 5, 460 MC_GRIDCELL = 6, 461 MC_GRIDCELLUPPER = 7, 462 MC_TRAILINGGRIDCELL = 8, 463 MC_TRAILINGGRIDCELLUPPER = 9, 464 MC_NAVNEXT = 10, 465 MC_NAVPREV = 11, 466 }; 467 468 enum GRIDCELLBACKGROUNDSTATES { 469 MCGCB_SELECTED = 1, 470 MCGCB_HOT = 2, 471 MCGCB_SELECTEDHOT = 3, 472 MCGCB_SELECTEDNOTFOCUSED = 4, 473 MCGCB_TODAY = 5, 474 }; 475 476 enum GRIDCELLSTATES { 477 MCGC_HOT = 1, 478 MCGC_HASSTATE = 2, 479 MCGC_HASSTATEHOT = 3, 480 MCGC_TODAY = 4, 481 }; 482 483 enum GRIDCELLUPPERSTATES { 484 MCGCU_HOT = 1, 485 MCGCU_HASSTATE = 2, 486 MCGCU_HASSTATEHOT = 3, 487 }; 488 489 enum TRAILINGGRIDCELLSTATES { 490 MCTGC_HOT = 1, 491 MCTGC_HASSTATE = 2, 492 MCTGC_HASSTATEHOT = 3, 493 MCTGC_TODAY = 4, 494 }; 495 496 enum TRAILINGGRIDCELLUPPERSTATES { 497 MCTGCU_HOT = 1, 498 MCTGCU_HASSTATE = 2, 499 MCTGCU_HASSTATEHOT = 3, 500 }; 501 502 enum NAVNEXTSTATES { 503 MCNN_NORMAL = 1, 504 MCNN_HOT = 2, 505 MCNN_PRESSED = 3, 506 MCNN_DISABLED = 4, 507 }; 508 509 enum NAVPREVSTATES { 510 MCNP_NORMAL = 1, 511 MCNP_HOT = 2, 512 MCNP_PRESSED = 3, 513 MCNP_DISABLED = 4, 514 }; 515 516 /* CLOCK class */ 517 #if defined(__GNUC__) 518 #define VSCLASS_CLOCK (const WCHAR []){'C','L','O','C','K',0} 519 #elif defined(_MSC_VER) 520 #define VSCLASS_CLOCK L"CLOCK" 521 #else 522 static const WCHAR VSCLASS_CLOCK[] = {'C','L','O','C','K',0}; 523 #endif 524 525 enum CLOCKPARTS { 526 CLP_TIME = 1, 527 }; 528 529 enum CLOCKSTATES { 530 CLS_NORMAL = 1, 531 }; 532 533 /* TRAYNOTIFY class */ 534 #if defined(__GNUC__) 535 #define VSCLASS_TRAYNOTIFY (const WCHAR []){'T','R','A','Y','N','O','T','I','F','Y',0} 536 #elif defined(_MSC_VER) 537 #define VSCLASS_TRAYNOTIFY L"TRAYNOTIFY" 538 #else 539 static const WCHAR VSCLASS_TRAYNOTIFY[] = {'T','R','A','Y','N','O','T','I','F','Y',0}; 540 #endif 541 542 enum TRAYNOTIFYPARTS { 543 TNP_BACKGROUND = 1, 544 TNP_ANIMBACKGROUND = 2, 545 }; 546 547 /* TASKBAR class */ 548 #if defined(__GNUC__) 549 #define VSCLASS_TASKBAR (const WCHAR []){'T','A','S','K','B','A','R',0} 550 #elif defined(_MSC_VER) 551 #define VSCLASS_TASKBAR L"TASKBAR" 552 #else 553 static const WCHAR VSCLASS_TASKBAR[] = {'T','A','S','K','B','A','R',0}; 554 #endif 555 556 enum TASKBARPARTS { 557 TBP_BACKGROUNDBOTTOM = 1, 558 TBP_BACKGROUNDRIGHT = 2, 559 TBP_BACKGROUNDTOP = 3, 560 TBP_BACKGROUNDLEFT = 4, 561 TBP_SIZINGBARBOTTOM = 5, 562 TBP_SIZINGBARRIGHT = 6, 563 TBP_SIZINGBARTOP = 7, 564 TBP_SIZINGBARLEFT = 8, 565 }; 566 567 /* TASKBAND class */ 568 #if defined(__GNUC__) 569 #define VSCLASS_TASKBAND (const WCHAR []){'T','A','S','K','B','A','N','D',0} 570 #elif defined(_MSC_VER) 571 #define VSCLASS_TASKBAND L"TASKBAND" 572 #else 573 static const WCHAR VSCLASS_TASKBAND[] = {'T','A','S','K','B','A','N','D',0}; 574 #endif 575 576 enum TASKBANDPARTS { 577 TDP_GROUPCOUNT = 1, 578 TDP_FLASHBUTTON = 2, 579 TDP_FLASHBUTTONGROUPMENU = 3, 580 }; 581 582 /* STARTPANEL class */ 583 #if defined(__GNUC__) 584 #define VSCLASS_STARTPANEL (const WCHAR []){'S','T','A','R','T','P','A','N','E','L',0} 585 #elif defined(_MSC_VER) 586 #define VSCLASS_STARTPANEL L"STARTPANEL" 587 #else 588 static const WCHAR VSCLASS_STARTPANEL[] = {'S','T','A','R','T','P','A','N','E','L',0}; 589 #endif 590 591 enum STARTPANELPARTS { 592 SPP_USERPANE = 1, 593 SPP_MOREPROGRAMS = 2, 594 SPP_MOREPROGRAMSARROW = 3, 595 SPP_PROGLIST = 4, 596 SPP_PROGLISTSEPARATOR = 5, 597 SPP_PLACESLIST = 6, 598 SPP_PLACESLISTSEPARATOR = 7, 599 SPP_LOGOFF = 8, 600 SPP_LOGOFFBUTTONS = 9, 601 SPP_USERPICTURE = 10, 602 SPP_PREVIEW = 11, 603 SPP_MOREPROGRAMSTAB = 12, 604 SPP_NSCHOST = 13, 605 SPP_SOFTWAREEXPLORER = 14, 606 SPP_OPENBOX = 15, 607 SPP_SEARCHVIEW = 16, 608 SPP_MOREPROGRAMSARROWBACK = 17, 609 SPP_TOPMATCH = 18, 610 SPP_LOGOFFSPLITBUTTONDROPDOWN = 19, 611 }; 612 613 enum MOREPROGRAMSTABSTATES { 614 SPMPT_NORMAL = 1, 615 SPMPT_HOT = 2, 616 SPMPT_SELECTED = 3, 617 SPMPT_DISABLED = 4, 618 SPMPT_FOCUSED = 5, 619 }; 620 621 enum SOFTWAREEXPLORERSTATES { 622 SPSE_NORMAL = 1, 623 SPSE_HOT = 2, 624 SPSE_SELECTED = 3, 625 SPSE_DISABLED = 4, 626 SPSE_FOCUSED = 5, 627 }; 628 629 enum OPENBOXSTATES { 630 SPOB_NORMAL = 1, 631 SPOB_HOT = 2, 632 SPOB_SELECTED = 3, 633 SPOB_DISABLED = 4, 634 SPOB_FOCUSED = 5, 635 }; 636 637 enum MOREPROGRAMSARROWSTATES { 638 SPS_NORMAL = 1, 639 SPS_HOT = 2, 640 SPS_PRESSED = 3, 641 }; 642 643 enum MOREPROGRAMSARROWBACKSTATES { 644 SPSB_NORMAL = 1, 645 SPSB_HOT = 2, 646 SPSB_PRESSED = 3, 647 }; 648 649 enum LOGOFFBUTTONSSTATES { 650 SPLS_NORMAL = 1, 651 SPLS_HOT = 2, 652 SPLS_PRESSED = 3, 653 }; 654 655 /* MENUBAND class */ 656 #if defined(__GNUC__) 657 #define VSCLASS_MENUBAND (const WCHAR []){'M','E','N','U','B','A','N','D',0} 658 #elif defined(_MSC_VER) 659 #define VSCLASS_MENUBAND L"MENUBAND" 660 #else 661 static const WCHAR VSCLASS_MENUBAND[] = {'M','E','N','U','B','A','N','D',0}; 662 #endif 663 664 enum MENUBANDPARTS { 665 MDP_NEWAPPBUTTON = 1, 666 MDP_SEPERATOR = 2, 667 }; 668 669 enum MENUBANDSTATES { 670 MDS_NORMAL = 1, 671 MDS_HOT = 2, 672 MDS_PRESSED = 3, 673 MDS_DISABLED = 4, 674 MDS_CHECKED = 5, 675 MDS_HOTCHECKED = 6, 676 }; 677 678 #endif /* __VSSYM32_H__ */ 679