Type | Description | |||
ID as Long | A Long expression that indicates the index of the skin being added or replaced. The value must be between 1 and 126, so Appearance collection should holds no more than 126 elements. | |||
Skin as Variant |
The Skin parameter of the Add method can a STRING as explained bellow, a BYTE[]
/ safe arrays of VT_I1 or VT_UI1 expression that indicates the
content of the EBN file. You can use
the BYTE[] / safe arrays of VT_I1 or VT_UI1 option when using the EBN file
directly in the resources of the project. For instance, the VB6 provides the
LoadResData to get the safe array o bytes for specified resource, while in
VB/NET or C# the internal class Resources provides definitions for all files
being inserted. ( ResourceManager.GetObject("ebn", resourceCulture) )
If the Skin parameter points to a string expression, it can be one of the following:
|
Return | Description | |||
Boolean | A Boolean expression that indicates whether the new skin was added or replaced. |
The identifier you choose for the skin is very important to be used in the background properties like explained bellow. Shortly, the color properties uses 4 bytes ( DWORD, double WORD, and so on ) to hold a RGB value. More than that, the first byte ( most significant byte in the color ) is used only to specify system color. if the first bit in the byte is 1, the rest of bits indicates the index of the system color being used. So, we use the last 7 bits in the high significant byte of the color to indicates the identifier of the skin being used. So, since the 7 bits can cover 127 values, excluding 0, we have 126 possibilities to store an identifier in that byte. This way, a DWORD expression indicates the background color stored in RRGGBB format and the index of the skin ( ID parameter ) in the last 7 bits in the high significant byte of the color. For instance, the BackColor = BackColor Or &H2000000 indicates that we apply the skin with the index 2 using the old color, to the object that BackColor is applied.
The skin method may change the visual appearance for the following parts in the control:
For instance, the following VB sample changes the visual appearance for the selected item. The SelBackColor property indicates the selection background color. Shortly, we need to add a skin to the Appearance object using the Add method, and we need to set the last 7 bits in the SelBackColor property to indicates the index of the skin that we want to use. The sample applies the "" to the selected item(s):
With G2antt1 With .VisualAppearance .Add &H23, App.Path + "\selected.ebn" End With .SelForeColor = RGB(0, 0, 0) .SelBackColor = &H23000000 End With
The sample adds the skin with the index 35 ( Hexa 23 ), and applies to the selected item using the SelBackColor property.
The following C++ sample applies a new appearance to the selected item(s):
#include "Appearance.h" m_g2antt.GetVisualAppearance().Add( 0x23, COleVariant(_T("D:\\Temp\\ExG2antt_Help\\selected.ebn")) ); m_g2antt.SetSelBackColor( 0x23000000 ); m_g2antt.SetSelForeColor( 0 );
The following VB.NET sample applies a new appearance to the selected item(s):
With AxG2antt1 With .VisualAppearance .Add(&H23, "D:\Temp\ExG2antt_Help\selected.ebn") End With .SelForeColor = Color.Black .Template = "SelBackColor = 587202560" End With
The VB.NET sample uses the Template property to assign a new value to the SelBackColor property. The 587202560 value represents &23000000 in hexadecimal.
The following C# sample applies a new appearance to the selected item(s):
axG2antt1.VisualAppearance.Add(0x23, "D:\\Temp\\ExG2antt_Help\\selected.ebn"); axG2antt1.Template = "SelBackColor = 587202560";
The following VFP sample applies a new appearance to the selected item(s):
With thisform.G2antt1 With .VisualAppearance .Add(35, "D:\Temp\ExG2antt_Help\selected.ebn") EndWith .SelForeColor = RGB(0, 0, 0) .SelBackColor = .587202560 EndWith
The 587202560 value represents &23000000 in hexadecimal. The 32 value represents &23 in hexadecimal
The screen shot was generated using the following template:
BeginUpdate Images("gBJJgBggAAwAAgACEKAD/hz/EMNh8TIRNGwAjEZAEXjAojJAjIgjIBAEijUlk8plUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDh+Dw1bwuJh0Sf8txeHyFXx+Ryk9wsnxbAzUpycYxWNiWMyujleXjOm0+gjKA1gA1iA0Wf0mz2WY1WwjWywuvz2N1GzyO11ON3mXxe6xfFzvAwXI1UY3mh5292PJ1vMw3T7Hbo3T73L7nhl3f5/i8034Xn9Xr9nt91Cio+lXyjsfkMjAEkk/69Hg97UpSeZ3pSeBnpScAHwO/iMmBBaMQalJAQc10JvylUJkAD8Dh+lJ8Q4k5/D+zjygAgI") Images("gBJJgBggAAwAAgACEKAD/hz/EMNh8TIRNGwAjEZAEXjAojJAjIgjIBAEijUlk8plUrlktl0vmExmUzmk1m03nE5nU7nk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 '0x01BBGGRR Background(0) = 33554432 '0x02BBGGRR Background(1) = 50331648 '0x03BBGGRR Background(2) = 67108864 '0x04BBGGRR Background(3) = 100663296 '0x06BBGGRR Background(8) = 67108864 '0x04BBGGRR Background(9) = 67108864 '0x04BBGGRR Background(10) = 100663296 '0x06BBGGRR Background(11) = 100663296 '0x06BBGGRR Background(12) = 100663296 '0x06BBGGRR Background(13) = 100663296 '0x06BBGGRR Background(14) = 100663296 '0x06BBGGRR Background(15) = 16777216 '0x01BBGGRR SelBackColor = 67108864 '0x04BBGGRR BackColorSortBar = RGB(61,101,183) FilterBarForeColor = RGB(255,255,255) ForeColorHeader = RGB(255,255,255) ForeColorSortBar = RGB(255,255,255) SelForeColor = 0 SortBarVisible = True MarkSearchColumn = False LinesAtRoot = 1 ForeColor = RGB(0,0,255) BackColor = RGB(255,255,255) BackColorLevelHeader = RGB(255,255,255) DrawGridLines = -1 ScrollBySingleLine = True HasLines = 2 HasButtons = 3 CheckImage(1) = 4 CheckImage(0) = 5 CheckImage(2) = 6 Chart { DrawGridLines = -1 BackColor = RGB(255,255,255) BackColorLevelHeader = 16777216 '0x01BBGGRR ForeColorLevelHeader = RGB(255,255,255) ScrollBar = False Bars { AddShapeCorner(1234,1) AddShapeCorner(1235,2) Add("Custom") { Color = RGB(255,0,0) Shape = 19 Pattern = 2 StartShape = 1234 StartColor = RGB(255,0,0) EndShape = 1235 EndColor = RGB(255,0,0) } } } Columns { "Task" { HeaderBold = True DisplayFilterButton = True DisplayFilterDate = True Width = 196 } 1 { AllowSizing = False HTMLCaption = "1 First" Def(0) = True LevelKey = 1 Width = 25 Alignment = 1 } 2 { AllowSizing = False HTMLCaption = "2 Second" Def(0) = True LevelKey = 1 Width = 25 Alignment = 1 } 3 { AllowSizing = False HTMLCaption = "3 Third" Def(0) = True LevelKey = 1 Width = 25 PartialCheck = True Alignment = 1 } "" { LevelKey = 1 Width = 20 } "" { Position = 0 Def(2) = True Width = 16 } } Chart { FirstVisibleDate = "5/29/2005" } Items { Dim h, h1,hx h = AddItem("exG2antt
Add an advanced g2antt chart to your application.") CellTooltip(h,0) = "You can have a HTML multiple lines tooltip for any cell in the tree." CellValueFormat(h,0) = 1 CellSingleLine(h,0) = False CellImages(h,1) = "1,2,3," CellHAlignment(h,1) = 2 CellMerge(h,0) = 1 CellMerge(h,0) = 2 CellMerge(h,0) = 3 AddBar(h,"Progress","5/30/2005","6/4/2005",1,"
-TODO: project -") AddBar(h,"Deadline","5/29/2005 16:00","6/2/2005",2) AddBar(h,"Deadline","6/4/2005 07:00","6/10/2005",3) h1 = InsertItem(h,,"Project Sumarry1") CellHasCheckBox(h1,0) = True CellImage(h1,0) = 1 AddBar(h1,"Project Summary","5/31/2005","6/15/2005"") AddBar(h1,"Milestone","5/30/2005","5/31/2005","M") AddBar(h1,"Milestone","6/16/2005","6/17/2005","E") h1 = InsertItem(h,,"Task...Split") CellHasCheckBox(h1,0) = True CellState(h1,0) = 1 CellImage(h1,0) = 2 AddBar(h1,"Task","6/1/2005","6/4/2005","S") AddBar(h1,"Split","6/4/2005","6/6/2005","Split") AddBar(h1,"Task","6/6/2005","6/12/2005","E") ExpandItem(h) = True h = AddItem("") CellValue(h,1) = "Custom icons ... " CellValueFormat(h,1) = 1 ItemDivider(h) = 1 ItemHeight(h) = 28 ItemDividerLine(h) = 3 CellHAlignment(h,1) = 1 SelectableItem(h) = False CellPicture(h,1) = "gBHJJGHA5MIqAAXAD3AENhozhpmhqZhrMhr/h0QGcQM0QTMQZkQf8QAESGcSM0STMSZkSf8SAEUGcUM0UTMUZkUf8UAEWGcWM0WTMWZkWf8WAEYGcYM0YTMYZkYf8Yh8ak0yn1KAEbrkdmcbkNLjcljcdlMzjstpcdmMbj81mcfnNLj89sEnkNDn8ho8ijcjpszkdRpcjiMclE0oFMrdes9woMnwEls0plMroMpl8qjuYlc3oMrncstMpltDoMto8ujubl9PoMvqcwusrmM2oVOrcftFxmd5kc0t+ez+n1+3uM1m83nNPm89uUr5s5otPnNJj+jnfOqNPncVkEsnFEqFbsNqudFn+DkshzOh1OxoMxvOn6fUndEkNF1NDoqiqOoy+NUnMAqOqakMMl7sKSoypK2ka1ropa+JGpjANc0TVNkmLgte7aju8p6esGl7uqjAEDqTCzZJ3BCpxgh0ZRnGkaxtG8cRzHUdx5HqHBCfICAChprgAFkZIQhQAAQjBXgSDgkFgUBgkGBAJg0fhTlgUJhkGGQHBgDh8CeERggqB4Zg8BBqDKMRiiyf4YC8fZ7ieIxgkSDIEgMIBSGMJZkj+RBrEgVIcAkUgkkCFgyFAJg8naIAHBkNYVA4SAUhmQBiAAR4JA6YAUBGY5RgGG4pg8DBdAMZAIhADhrDILoZhWQANBANYHBwHAADoJpREkA5GA0KAsBiY5NBkI1LBiORCAGA4RiADx+hQKZKkYJ5fCAU4dDgahVGXMwJE6QQCj2UBhE0UAHGscgUEmIZXGqVQ1kcIg/CYcwIlEToBGiZwlHoPAYkEAYwBWHAUHGABAkGZA5HSDwQnGQBhiqTIpgiKweEAdBonGGQDi4E45DAIJGkGZI+A6dBsAUAggnMEY1mMFRaAkEAAGgXh/k8cw4CgQIGEEDgdGoQhlhKAZ7GiexViMYRBBsXBhBiCAQGAEpPjsBhqgCDJrAqJx1lQKAAnYdhYBYWBymKMY3myU5jDSaAOlAIYsjGNpzkAAIc5iK4MkeZAwEACpdB6KRLCqH4gAOYgzFecpIA0LIyHIOAgAgIhkkIJAABEDJiE2N4xgaCpCDwMgACqcQBgcUgbmGEZHigUwDAyCoMCqKIAF0OpgkEIgoAKeBH9qchihGJgCCkLAojeKQjEqKAkAMWlDiyWY+DMKgLl8SJAgGSIjBCGRlgYdZ4iIKQiDWRpCEQJYDgYWhKESHgQkIEhDFCm8aAUg0jWDyA0Twch9ApHQKAQgFgtBQCAAAHZAQ=" AddBar(h,"Custom","5/31/2005","6/4/2005") ItemBackColor(h) = 100663296 h = AddItem("Root 2") CellImages(h,0) = "2,3" ItemBold(h) = True CellMerge(h,0) = 1 CellMerge(h,0) = 2 CellMerge(h,0) = 3 h1 = InsertItem(h,,"Task 1") AddBar(h1,"Task","6/4/2005","6/5/2005","S") AddBar(h1,"Split","6/5/2005","6/8/2005","Split") AddBar(h1,"Task","6/8/2005","6/10/2005","E") AddBar(h1,"","5/30/2005 12:00","6/3/2005 11:00",,"some text") ItemBar(h1,,7) = 83886080 ' ItemBar(h1,,8) = RGB(255,255,255) ItemBar(h1,,6) = "This is a bit of text that should occur when the cursor hovers the bar or the text." h1 = InsertItem(h,,"Task 2") ExpandItem(h) = true } EndUpdate
On Windows XP, the following table shows how the common controls are broken into parts and states:
Control/ClassName | Part | States |
---|---|---|
BUTTON | BP_CHECKBOX = 3 | CBS_UNCHECKEDNORMAL = 1 CBS_UNCHECKEDHOT = 2 CBS_UNCHECKEDPRESSED = 3 CBS_UNCHECKEDDISABLED = 4 CBS_CHECKEDNORMAL = 5 CBS_CHECKEDHOT = 6 CBS_CHECKEDPRESSED = 7 CBS_CHECKEDDISABLED = 8 CBS_MIXEDNORMAL = 9 CBS_MIXEDHOT = 10 CBS_MIXEDPRESSED = 11 CBS_MIXEDDISABLED = 12 |
BP_GROUPBOX = 4 | GBS_NORMAL = 1 GBS_DISABLED = 2 | |
BP_PUSHBUTTON = 1 | PBS_NORMAL = 1 PBS_HOT = 2 PBS_PRESSED = 3 PBS_DISABLED = 4 PBS_DEFAULTED = 5 | |
BP_RADIOBUTTON = 2 | RBS_UNCHECKEDNORMAL = 1 RBS_UNCHECKEDHOT = 2 RBS_UNCHECKEDPRESSED = 3 RBS_UNCHECKEDDISABLED = 4 RBS_CHECKEDNORMAL = 5 RBS_CHECKEDHOT = 6 RBS_CHECKEDPRESSED = 7 RBS_CHECKEDDISABLED = 8 | |
BP_USERBUTTON = 5 | ||
CLOCK | CLP_TIME = 1 | CLS_NORMAL = 1 |
COMBOBOX | CP_DROPDOWNBUTTON = 1 | CBXS_NORMAL = 1 CBXS_HOT = 2 CBXS_PRESSED = 3 CBXS_DISABLED = 4 |
EDIT | EP_CARET = 2 | |
EP_EDITTEXT = 1 | ETS_NORMAL = 1 ETS_HOT = 2 ETS_SELECTED = 3 ETS_DISABLED = 4 ETS_FOCUSED = 5 ETS_READONLY = 6 ETS_ASSIST = 7 | |
EXPLORERBAR | EBP_HEADERBACKGROUND = 1 | |
EBP_HEADERCLOSE = 2 | EBHC_NORMAL = 1 EBHC_HOT = 2 EBHC_PRESSED = 3 | |
EBP_HEADERPIN = 3 | EBHP_NORMAL = 1 EBHP_HOT = 2 EBHP_PRESSED = 3 EBHP_SELECTEDNORMAL = 4 EBHP_SELECTEDHOT = 5 EBHP_SELECTEDPRESSED = 6 | |
EBP_IEBARMENU = 4 | EBM_NORMAL = 1 EBM_HOT = 2 EBM_PRESSED = 3 | |
EBP_NORMALGROUPBACKGROUND = 5 | ||
EBP_NORMALGROUPCOLLAPSE = 6 | EBNGC_NORMAL = 1 EBNGC_HOT = 2 EBNGC_PRESSED = 3 | |
EBP_NORMALGROUPEXPAND = 7 | EBNGE_NORMAL = 1 EBNGE_HOT = 2 EBNGE_PRESSED = 3 | |
EBP_NORMALGROUPHEAD = 8 | ||
EBP_SPECIALGROUPBACKGROUND = 9 | ||
EBP_SPECIALGROUPCOLLAPSE = 10 | EBSGC_NORMAL = 1 EBSGC_HOT = 2 EBSGC_PRESSED = 3 | |
EBP_SPECIALGROUPEXPAND = 11 | EBSGE_NORMAL = 1 EBSGE_HOT = 2 EBSGE_PRESSED = 3 | |
EBP_SPECIALGROUPHEAD = 12 | ||
HEADER | HP_HEADERITEM = 1 | HIS_NORMAL = 1 HIS_HOT = 2 HIS_PRESSED = 3 |
HP_HEADERITEMLEFT = 2 | HILS_NORMAL = 1 HILS_HOT = 2 HILS_PRESSED = 3 | |
HP_HEADERITEMRIGHT = 3 | HIRS_NORMAL = 1 HIRS_HOT = 2 HIRS_PRESSED = 3 | |
HP_HEADERSORTARROW = 4 | HSAS_SORTEDUP = 1 HSAS_SORTEDDOWN = 2 | |
LISTVIEW | LVP_EMPTYTEXT = 5 | |
LVP_LISTDETAIL = 3 | ||
LVP_LISTGROUP = 2 | ||
LVP_LISTITEM = 1 | LIS_NORMAL = 1 LIS_HOT = 2 LIS_SELECTED = 3 LIS_DISABLED = 4 LIS_SELECTEDNOTFOCUS = 5 | |
LVP_LISTSORTEDDETAIL = 4 | ||
MENU | MP_MENUBARDROPDOWN = 4 | MS_NORMAL = 1 MS_SELECTED = 2 MS_DEMOTED = 3 |
MP_MENUBARITEM = 3 | MS_NORMAL = 1 MS_SELECTED = 2 MS_DEMOTED = 3 | |
MP_CHEVRON = 5 | MS_NORMAL = 1 MS_SELECTED = 2 MS_DEMOTED = 3 | |
MP_MENUDROPDOWN = 2 | MS_NORMAL = 1 MS_SELECTED = 2 MS_DEMOTED = 3 | |
MP_MENUITEM = 1 | MS_NORMAL = 1 MS_SELECTED = 2 MS_DEMOTED = 3 | |
MP_SEPARATOR = 6 | MS_NORMAL = 1 MS_SELECTED = 2 MS_DEMOTED = 3 | |
MENUBAND | MDP_NEWAPPBUTTON = 1 | MDS_NORMAL = 1 MDS_HOT = 2 MDS_PRESSED = 3 MDS_DISABLED = 4 MDS_CHECKED = 5 MDS_HOTCHECKED = 6 |
MDP_SEPERATOR = 2 | ||
PAGE | PGRP_DOWN = 2 | DNS_NORMAL = 1 DNS_HOT = 2 DNS_PRESSED = 3 DNS_DISABLED = 4 |
PGRP_DOWNHORZ = 4 | DNHZS_NORMAL = 1 DNHZS_HOT = 2 DNHZS_PRESSED = 3 DNHZS_DISABLED = 4 | |
PGRP_UP = 1 | UPS_NORMAL = 1 UPS_HOT = 2 UPS_PRESSED = 3 UPS_DISABLED = 4 | |
PGRP_UPHORZ = 3 | UPHZS_NORMAL = 1 UPHZS_HOT = 2 UPHZS_PRESSED = 3 UPHZS_DISABLED = 4 | |
PROGRESS | PP_BAR = 1 | |
PP_BARVERT = 2 | ||
PP_CHUNK = 3 | ||
PP_CHUNKVERT = 4 | ||
REBAR | RP_BAND = 3 | |
RP_CHEVRON = 4 | CHEVS_NORMAL = 1 CHEVS_HOT = 2 CHEVS_PRESSED = 3 | |
RP_CHEVRONVERT = 5 | ||
RP_GRIPPER = 1 | ||
RP_GRIPPERVERT = 2 | ||
SCROLLBAR | SBP_ARROWBTN = 1 | ABS_DOWNDISABLED, ABS_DOWNHOT, ABS_DOWNNORMAL, ABS_DOWNPRESSED, ABS_UPDISABLED, ABS_UPHOT, ABS_UPNORMAL, ABS_UPPRESSED, ABS_LEFTDISABLED, ABS_LEFTHOT, ABS_LEFTNORMAL, ABS_LEFTPRESSED, ABS_RIGHTDISABLED, ABS_RIGHTHOT, ABS_RIGHTNORMAL, ABS_RIGHTPRESSED |
SBP_GRIPPERHORZ = 8 | ||
SBP_GRIPPERVERT = 9 | ||
SBP_LOWERTRACKHORZ = 4 | SCRBS_NORMAL = 1 SCRBS_HOT = 2 SCRBS_PRESSED = 3 SCRBS_DISABLED = 4 | |
SBP_LOWERTRACKVERT = 6 | SCRBS_NORMAL = 1 SCRBS_HOT = 2 SCRBS_PRESSED = 3 SCRBS_DISABLED = 4 | |
SBP_THUMBBTNHORZ = 2 | SCRBS_NORMAL = 1 SCRBS_HOT = 2 SCRBS_PRESSED = 3 SCRBS_DISABLED = 4 | |
SBP_THUMBBTNVERT = 3 | SCRBS_NORMAL = 1 SCRBS_HOT = 2 SCRBS_PRESSED = 3 SCRBS_DISABLED = 4 | |
SBP_UPPERTRACKHORZ = 5 | SCRBS_NORMAL = 1 SCRBS_HOT = 2 SCRBS_PRESSED = 3 SCRBS_DISABLED = 4 | |
SBP_UPPERTRACKVERT = 7 | SCRBS_NORMAL = 1 SCRBS_HOT = 2 SCRBS_PRESSED = 3 SCRBS_DISABLED = 4 | |
SBP_SIZEBOX = 10 | SZB_RIGHTALIGN = 1 SZB_LEFTALIGN = 2 | |
SPIN | SPNP_DOWN = 2 | DNS_NORMAL = 1 DNS_HOT = 2 DNS_PRESSED = 3 DNS_DISABLED = 4 |
SPNP_DOWNHORZ = 4 | DNHZS_NORMAL = 1 DNHZS_HOT = 2 DNHZS_PRESSED = 3 DNHZS_DISABLED = 4 | |
SPNP_UP = 1 | UPS_NORMAL = 1 UPS_HOT = 2 UPS_PRESSED = 3 UPS_DISABLED = 4 | |
SPNP_UPHORZ = 3 | UPHZS_NORMAL = 1 UPHZS_HOT = 2 UPHZS_PRESSED = 3 UPHZS_DISABLED = 4 | |
STARTPANEL | SPP_LOGOFF = 8 | |
SPP_LOGOFFBUTTONS = 9 | SPLS_NORMAL = 1 SPLS_HOT = 2 SPLS_PRESSED = 3 | |
SPP_MOREPROGRAMS = 2 | ||
SPP_MOREPROGRAMSARROW = 3 | SPS_NORMAL = 1 SPS_HOT = 2 SPS_PRESSED = 3 | |
SPP_PLACESLIST = 6 | ||
SPP_PLACESLISTSEPARATOR = 7 | ||
SPP_PREVIEW = 11 | ||
SPP_PROGLIST = 4 | ||
SPP_PROGLISTSEPARATOR = 5 | ||
SPP_USERPANE = 1 | ||
SPP_USERPICTURE = 10 | ||
STATUS | SP_GRIPPER = 3 | |
SP_PANE = 1 | ||
SP_GRIPPERPANE = 2 | ||
TAB | TABP_BODY = 10 | |
TABP_PANE = 9 | ||
TABP_TABITEM = 1 | TIS_NORMAL = 1 TIS_HOT = 2 TIS_SELECTED = 3 TIS_DISABLED = 4 TIS_FOCUSED = 5 | |
TABP_TABITEMBOTHEDGE = 4 | TIBES_NORMAL = 1 TIBES_HOT = 2 TIBES_SELECTED = 3 TIBES_DISABLED = 4 TIBES_FOCUSED = 5 | |
TABP_TABITEMLEFTEDGE = 2 | TILES_NORMAL = 1 TILES_HOT = 2 TILES_SELECTED = 3 TILES_DISABLED = 4 TILES_FOCUSED = 5 | |
TABP_TABITEMRIGHTEDGE = 3 | TIRES_NORMAL = 1 TIRES_HOT = 2 TIRES_SELECTED = 3 TIRES_DISABLED = 4 TIRES_FOCUSED = 5 | |
TABP_TOPTABITEM = 5 | TTIS_NORMAL = 1 TTIS_HOT = 2 TTIS_SELECTED = 3 TTIS_DISABLED = 4 TTIS_FOCUSED = 5 | |
TABP_TOPTABITEMBOTHEDGE = 8 | TTIBES_NORMAL = 1 TTIBES_HOT = 2 TTIBES_SELECTED = 3 TTIBES_DISABLED = 4 TTIBES_FOCUSED = 5 | |
TABP_TOPTABITEMLEFTEDGE = 6 | TTILES_NORMAL = 1 TTILES_HOT = 2 TTILES_SELECTED = 3 TTILES_DISABLED = 4 TTILES_FOCUSED = 5 | |
TABP_TOPTABITEMRIGHTEDGE = 7 | TTIRES_NORMAL = 1 TTIRES_HOT = 2 TTIRES_SELECTED = 3 TTIRES_DISABLED = 4 TTIRES_FOCUSED = 5 | |
TASKBAND | TDP_GROUPCOUNT = 1 | |
TDP_FLASHBUTTON = 2 | ||
TDP_FLASHBUTTONGROUPMENU = 3 | ||
TASKBAR | TBP_BACKGROUNDBOTTOM = 1 | |
TBP_BACKGROUNDLEFT = 4 | ||
TBP_BACKGROUNDRIGHT = 2 | ||
TBP_BACKGROUNDTOP = 3 | ||
TBP_SIZINGBARBOTTOM = 5 | ||
TBP_SIZINGBARBOTTOMLEFT = 8 | ||
TBP_SIZINGBARRIGHT = 6 | ||
TBP_SIZINGBARTOP = 7 | ||
TOOLBAR | TP_BUTTON = 1 | TS_NORMAL = 1 TS_HOT = 2 TS_PRESSED = 3 TS_DISABLED = 4 TS_CHECKED = 5 TS_HOTCHECKED = 6 |
TP_DROPDOWNBUTTON = 2 | TS_NORMAL = 1 TS_HOT = 2 TS_PRESSED = 3 TS_DISABLED = 4 TS_CHECKED = 5 TS_HOTCHECKED = 6 | |
TP_SPLITBUTTON = 3 | TS_NORMAL = 1 TS_HOT = 2 TS_PRESSED = 3 TS_DISABLED = 4 TS_CHECKED = 5 TS_HOTCHECKED = 6 | |
TP_SPLITBUTTONDROPDOWN = 4 | TS_NORMAL = 1 TS_HOT = 2 TS_PRESSED = 3 TS_DISABLED = 4 TS_CHECKED = 5 TS_HOTCHECKED = 6 | |
TP_SEPARATOR = 5 | TS_NORMAL = 1 TS_HOT = 2 TS_PRESSED = 3 TS_DISABLED = 4 TS_CHECKED = 5 TS_HOTCHECKED = 6 | |
TP_SEPARATORVERT = 6 | TS_NORMAL = 1 TS_HOT = 2 TS_PRESSED = 3 TS_DISABLED = 4 TS_CHECKED = 5 TS_HOTCHECKED = 6 | |
TOOLTIP | TTP_BALLOON = 3 | TTBS_NORMAL = 1 TTBS_LINK = 2 |
TTP_BALLOONTITLE = 4 | TTBS_NORMAL = 1 TTBS_LINK = 2 | |
TTP_CLOSE = 5 | TTCS_NORMAL = 1 TTCS_HOT = 2 TTCS_PRESSED = 3 | |
TTP_STANDARD = 1 | TTSS_NORMAL = 1 TTSS_LINK = 2 | |
TTP_STANDARDTITLE = 2 | TTSS_NORMAL = 1 TTSS_LINK = 2 | |
TRACKBAR | TKP_THUMB = 3 | TUS_NORMAL = 1 TUS_HOT = 2 TUS_PRESSED = 3 TUS_FOCUSED = 4 TUS_DISABLED = 5 |
TKP_THUMBBOTTOM = 4 | TUBS_NORMAL = 1 TUBS_HOT = 2 TUBS_PRESSED = 3 TUBS_FOCUSED = 4 TUBS_DISABLED = 5 | |
TKP_THUMBLEFT = 7 | TUVLS_NORMAL = 1 TUVLS_HOT = 2 TUVLS_PRESSED = 3 TUVLS_FOCUSED = 4 TUVLS_DISABLED = 5 | |
TKP_THUMBRIGHT = 8 | TUVRS_NORMAL = 1 TUVRS_HOT = 2 TUVRS_PRESSED = 3 TUVRS_FOCUSED = 4 TUVRS_DISABLED = 5 | |
TKP_THUMBTOP = 5 | TUTS_NORMAL = 1 TUTS_HOT = 2 TUTS_PRESSED = 3 TUTS_FOCUSED = 4 TUTS_DISABLED = 5 | |
TKP_THUMBVERT = 6 | TUVS_NORMAL = 1 TUVS_HOT = 2 TUVS_PRESSED = 3 TUVS_FOCUSED = 4 TUVS_DISABLED = 5 | |
TKP_TICS = 9 | TSS_NORMAL = 1 | |
TKP_TICSVERT = 10 | TSVS_NORMAL = 1 | |
TKP_TRACK = 1 | TRS_NORMAL = 1 | |
TKP_TRACKVERT = 2 | TRVS_NORMAL = 1 | |
TRAYNOTIFY | TNP_ANIMBACKGROUND = 2 | |
TNP_BACKGROUND = 1 | ||
TREEVIEW | TVP_BRANCH = 3 | |
TVP_GLYPH = 2 | GLPS_CLOSED = 1 GLPS_OPENED = 2 | |
TVP_TREEITEM = 1 | TREIS_NORMAL = 1 TREIS_HOT = 2 TREIS_SELECTED = 3 TREIS_DISABLED = 4 TREIS_SELECTEDNOTFOCUS = 5 | |
WINDOW | WP_CAPTION = 1 | CS_ACTIVE = 1 CS_INACTIVE = 2 CS_DISABLED = 3 |
WP_CAPTIONSIZINGTEMPLATE = 30 | ||
WP_CLOSEBUTTON = 18 | CBS_NORMAL = 1 CBS_HOT = 2 CBS_PUSHED = 3 CBS_DISABLED = 4 | |
WP_DIALOG = 29 | ||
WP_FRAMEBOTTOM = 9 | FS_ACTIVE = 1 FS_INACTIVE = 2 | |
WP_FRAMEBOTTOMSIZINGTEMPLATE = 36 | ||
WP_FRAMELEFT = 7 | FS_ACTIVE = 1 FS_INACTIVE = 2 | |
WP_FRAMELEFTSIZINGTEMPLATE = 32 | ||
WP_FRAMERIGHT = 8 | FS_ACTIVE = 1 FS_INACTIVE = 2 | |
WP_FRAMERIGHTSIZINGTEMPLATE = 34 | ||
WP_HELPBUTTON = 23 | HBS_NORMAL = 1 HBS_HOT = 2 HBS_PUSHED = 3 HBS_DISABLED = 4 | |
WP_HORZSCROLL = 25 | HSS_NORMAL = 1 HSS_HOT = 2 HSS_PUSHED = 3 HSS_DISABLED = 4 | |
WP_HORZTHUMB = 26 | HTS_NORMAL = 1 HTS_HOT = 2 HTS_PUSHED = 3 HTS_DISABLED = 4 | |
WP_MAX_BUTTON | MAXBS_NORMAL = 1 MAXBS_HOT = 2 MAXBS_PUSHED = 3 MAXBS_DISABLED = 4 | |
WP_MAXCAPTION = 5 | MXCS_ACTIVE = 1 MXCS_INACTIVE = 2 MXCS_DISABLED = 3 | |
WP_MDICLOSEBUTTON = 20 | CBS_NORMAL = 1 CBS_HOT = 2 CBS_PUSHED = 3 CBS_DISABLED = 4 | |
WP_MDIHELPBUTTON = 24 | HBS_NORMAL = 1 HBS_HOT = 2 HBS_PUSHED = 3 HBS_DISABLED = 4 | |
WP_MDIMINBUTTON = 16 | MINBS_NORMAL = 1 MINBS_HOT = 2 MINBS_PUSHED = 3 MINBS_DISABLED = 4 | |
WP_MDIRESTOREBUTTON = 22 | RBS_NORMAL = 1 RBS_HOT = 2 RBS_PUSHED = 3 RBS_DISABLED = 4 | |
WP_MDISYSBUTTON = 14 | SBS_NORMAL = 1 SBS_HOT = 2 SBS_PUSHED = 3 SBS_DISABLED = 4 | |
WP_MINBUTTON = 15 | MINBS_NORMAL = 1 MINBS_HOT = 2 MINBS_PUSHED = 3 MINBS_DISABLED = 4 | |
WP_MINCAPTION = 3 | MNCS_ACTIVE = 1 MNCS_INACTIVE = 2 MNCS_DISABLED = 3 | |
WP_RESTOREBUTTON = 21 | RBS_NORMAL = 1 RBS_HOT = 2 RBS_PUSHED = 3 RBS_DISABLED = 4 | |
WP_SMALLCAPTION = 2 | CS_ACTIVE = 1 CS_INACTIVE = 2 CS_DISABLED = 3 | |
WP_SMALLCAPTIONSIZINGTEMPLATE = 31 | ||
WP_SMALLCLOSEBUTTON = 19 | CBS_NORMAL = 1 CBS_HOT = 2 CBS_PUSHED = 3 CBS_DISABLED = 4 | |
WP_SMALLFRAMEBOTTOM = 12 | FS_ACTIVE = 1 FS_INACTIVE = 2 | |
WP_SMALLFRAMEBOTTOMSIZINGTEMPLATE = 37 | ||
WP_SMALLFRAMELEFT = 10 | FS_ACTIVE = 1 FS_INACTIVE = 2 | |
WP_SMALLFRAMELEFTSIZINGTEMPLATE = 33 | ||
WP_SMALLFRAMERIGHT = 11 | FS_ACTIVE = 1 FS_INACTIVE = 2 | |
WP_SMALLFRAMERIGHTSIZINGTEMPLATE = 35 | ||
WP_SMALLHELPBUTTON | HBS_NORMAL = 1 HBS_HOT = 2 HBS_PUSHED = 3 HBS_DISABLED = 4 | |
WP_SMALLMAXBUTTON | MAXBS_NORMAL = 1 MAXBS_HOT = 2 MAXBS_PUSHED = 3 MAXBS_DISABLED = 4 | |
WP_SMALLMAXCAPTION = 6 | MXCS_ACTIVE = 1 MXCS_INACTIVE = 2 MXCS_DISABLED = 3 | |
WP_SMALLMINCAPTION = 4 | MNCS_ACTIVE = 1 MNCS_INACTIVE = 2 MNCS_DISABLED = 3 | |
WP_SMALLRESTOREBUTTON | RBS_NORMAL = 1 RBS_HOT = 2 RBS_PUSHED = 3 RBS_DISABLED = 4 | |
WP_SMALLSYSBUTTON | SBS_NORMAL = 1 SBS_HOT = 2 SBS_PUSHED = 3 SBS_DISABLED = 4 | |
WP_SYSBUTTON = 13 | SBS_NORMAL = 1 SBS_HOT = 2 SBS_PUSHED = 3 SBS_DISABLED = 4 | |
WP_VERTSCROLL = 27 | VSS_NORMAL = 1 VSS_HOT = 2 VSS_PUSHED = 3 VSS_DISABLED = 4 | |
WP_VERTTHUMB = 28 | VTS_NORMAL = 1 VTS_HOT = 2 VTS_PUSHED = 3 VTS_DISABLED = 4 |