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 ComboBox1 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_combobox.GetVisualAppearance().Add( 0x23, COleVariant(_T("D:\\Temp\\ExComboBox_Help\\selected.ebn")) ); m_combobox.SetSelBackColor( 0x23000000 ); m_combobox.SetSelForeColor( 0 );
The following VB.NET sample applies a new appearance to the selected item(s):
With AxComboBox1 With .VisualAppearance .Add(&H23, "D:\Temp\ExComboBox_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):
axComboBox1.VisualAppearance.Add(0x23, "D:\\Temp\\ExComboBox_Help\\selected.ebn"); axComboBox1.Template = "SelBackColor = 587202560";
The following VFP sample applies a new appearance to the selected item(s):
With thisform.ComboBox1 With .VisualAppearance .Add(35, "D:\Temp\ExComboBox_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 first screen shot was generated using the following template:
BeginUpdate VisualAppearance.Add(1,"XP:Header 1 1") VisualAppearance.Add(2,"XP:ScrollBar 2 1") VisualAppearance.Add(3,"XP:Window 18 1") VisualAppearance.Add(4,"XP:Window 16 1") VisualAppearance.Add(5,"XP:ComboBox 1 1") VisualAppearance.Add(6,"XP:ComboBox 1 3") HeaderBackColor = 16777216 SelBackColor = 33554432 Background(1) = 50331648 Background(0) = 67108864 Background(20) = 33554432 Background(21) = 1 SelForeColor = 0 Background(4) = 83886080 Background(5) = 100663296 MarkSearchColumn = False ColumnAutoResize = True ShowFocusRect = False ConditionalFormats { Add("%1 >4") { Bold = True StrikeOut = True ForeColor = RGB(255,0,0) ApplyTo = 1 } Add("%2 > 4") { Bold = True StrikeOut = True ForeColor = RGB(255,0,0) ApplyTo = 2 } Add("%3 > 4") { Bold = True StrikeOut = True ForeColor = RGB(255,0,0) ApplyTo = 3 } Add("1") { Bold = True ApplyTo = 4 } } Columns { "Name" "A" { AllowSizing = False Width = 24 } "B" { AllowSizing = False Width = 24 } "C" { AllowSizing = False Width = 24 } "A+B+C" { AllowSizing = False Width = 64 ComputedField = "%1+%2+%3" } } Items { Dim h, h1 h = AddItem("Root") CellCaptionFormat(h,4) = 1 h1 = InsertItem(h,,"Child 1") CellCaption(h1,1) = 7 CellCaption(h1,2) = 3 CellCaption(h1,3) = 1 h1 = InsertItem(h,,"Child 2") CellCaption(h1,1) = 2 CellCaption(h1,2) = 5 CellCaption(h1,3) = 12 h1 = InsertItem(h,,"Child 3") CellCaption(h1,1) = 11 CellCaption(h1,2) = 1 CellCaption(h1,3) = 4 ExpandItem(h) = True } EndUpdate
The second 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/EMNh8TIRNGwAjEZAEXjAojJAjIgjIBAEijUlk8plUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTqlVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwV/YGFAGFYGDxVbxGHw2NxuLyVKyGPy2JxsPiT/yedn+RjOVzGGzWlh2bz2pl+gjGsx2jxOaQGz1Gmzma1W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liNptisdpZjebZLgKXo4G4S4OmaOIuguFppjcZwCn6VY7gQa5CnKO5vEuRp1jybxrmaeI+m8e52nqP4vkufwCj4LpRj6cZBgufAjAqQZwkwJwNkKcJsEcEJEnCfBXBKRYxEwXwakKbpRiwQgvnGbIDB+SByEyDwm5eDIXCmSZyiyNwskuco8kcLpMjIaZAjcGZECyXw5k4M4sncPJPnOPQHD6UI0A0DxGlEdINBMSpRnSPQDDYGRDlKXxQlSNQdE8VpVHWDRTFqVZ1jCdJ/ledZdgcXJYnWHYTGKWR2gyWBglQdoyl8bZbnaTZHG6LkNwGxPDnFeO8DYzh2i6HeJsUw/RejvH2O8AIOAKjiHQHEYQ8B+A3AiMUeIXA3gTGOPEQIxh5jJHkJwR4LRjhyH4IcGIzR5hcD+AkZwcwegPCCNEeYvQLhLGkHQbgzwEAtAMGUP4WRrh1F6H8MrLBOiHDaNkew/RXhxG6PcLo7w5jfHuJ4A4aYKACFwGccQ+B/A3EiOUfIXg3iTHOPkTwhxOjoH0J4T4rR0h7A8K8WY5w8CCFOI8d4FQPgHGKO8fgnwHjLHiPwb4Txoj1H4P8N41R7h9E+H8co8WsAAFABkfw3xjyKH+J8b4/B/CgAGP0QALx/ABCAFgBIARwAcASIAaAKR/i/CwBEAQ4BCAPEEFAGQCgggYBWAQcAEg4ASHCCkAwwRkA3AOGEAgHxCBQD0BIIQGAlgIHCDQFIhQICuAmMIbAVQFihC0AwIgiBFAaBEBgNgiAQjEBqIcGA3gOghGwGcB4IgCA7EQvwEAxAkCGEKEAAIASAg=") } HeaderBackColor = 16777216 '0x01BBGGRR BackColorSortBarCaption = 33488896 '0x01BBGGRR FilterBarBackColor = 16777216 '0x01BBGGRR Background(0) = 33554432 '0x02BBGGRR Background(1) = 50331648 '0x03BBGGRR Background(4) = 33554432 '0x02BBGGRR Background(5) = 117440512 '0x07BBGGRR 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 SelBackColor = 67108864 '0x04BBGGRR BackColorSortBar = RGB(61,101,183) FilterBarForeColor = RGB(255,255,255) HeaderForeColor = RGB(255,255,255) ForeColorSortBar = RGB(255,255,255) SelForeColor = 0 ShowFocusRect = False HeaderHeight = 20 SortBarHeight = 20 MarkSearchColumn = False Alignment = 0 LinesAtRoot = 1 SortBarVisible = True ColumnAutoResize = True AllowSizeGrip = True BackColor = RGB(255,255,255) BackColorEdit = RGB(255,255,255) BackColorLevelHeader = RGB(255,255,255) FullRowSelect = False DrawGridLines = -1 MinWidthList = 312 HeightList = 260 CheckImage(1) = 4 CheckImage(0) = 5 CheckImage(2) = 6 HasButtons = 4 HasButtonsCustom(0) = 7 HasButtonsCustom(1) = 8 Font { Name = "Trebuchet MS" } Columns { "Name" { HeaderBold = True DisplayFilterButton = True LevelKey = 2 Width = 96 } "Value" { LevelKey = 2 Width = 40 } 1 { AllowSizing = False HTMLCaption = "1 First" Def(0) = True LevelKey = 1 Width = 13 } 2 { AllowSizing = False HTMLCaption = "2 Second" Def(0) = True LevelKey = 1 Width = 13 } 3 { AllowSizing = False HTMLCaption = "3 Third" Def(0) = True LevelKey = 1 Width = 13 } "" { LevelKey = 1 Width = 20 } } AssignEditImageOnSelect(0) =True Items { Dim h, h1,hx h = AddItem("Root 1 (merged)") CellImage(h,0) = 1 CellPicture(h,0) = "gBHJJGHA5MIqAAXAD3AENhozhpmhqZhrMhr/h0QGcQM0QTMQZkQf8QAESGcSM0STMSZkSf8SAEUGcUM0UTMUZkUf8UAEWGcWM0WTMWZkWf8WAEYGcYM0YTMYZkYf8Yh8ak0yn1KAEbrkdmcbkNLjcljcdlMzjstpcdmMbj81mcfnNLj89sEnkNDn8ho8ijcjpszkdRpcjiMclE0oFMrdes9woMnwEls0plMroMpl8qjuYlc3oMrncstMpltDoMto8ujubl9PoMvqcwusrm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asCheckBox(h1,0) = True CellCaption(h1,1) = "2 -new item " CellCaptionFormat(h1,1) = 1 h1 = InsertItem(h,,"Child 2") CellImage(h1,1) = 3 CellCaption(h1,1) = "3 -new item " CellHasCheckBox(h1,0) = True CellState(h1,0) = 1 CellCaptionFormat(h1,1) = 1 ExpandItem(h) = True h = AddItem("Root 2") CellImage(h,0) = 1 ItemBold(h) = True CellCaption(h,1) = "4" h1 = InsertItem(h,,"Child 1") CellImage(h1,0) = 1 h = AddItem() CellCaption(h,1) = "Non selectable item" CellToolTip(h,1) = "The user can't select non selectable items." CellCaptionFormat(h,1) = 1 SelectableItem( h ) = False ItemHeight(h) = 24 ItemDivider(h) = 1 ItemDividerLine(h) = 2 CellImage(h,1) = 3 CellHAlignment(h,1) = 1 EnableItem(h) = False h = AddItem("Selectable...") } 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 |