部件和状态
本主题介绍启用视觉样式时用于更改控件外观的部件和状态。 Windows 为控件和窗口绘制某些部件,而这些部件又可分为父部件和子部件。 大多数部件都有一个状态,例如禁用、激活或选定。 在创建控件时,可以决定对控件的哪些部件应用视觉样式。 可以将控件分为一个主要部件和零个或多个命名的子部件。 部件的示例包括文本区域、绘制的形状、图像和线条。 可以为每个部件在一个位图文件中定义一个或多个背景图像。 不同的背景通常与控件的不同状态相关联,但也并非必须保持关联。 例如,如果控件被禁用,则可能会使用阴影背景。 在运行时,可以使用 iStateId 值作为正确图像从 1 开始的索引来选择适当的图像。
注意
大部分主题 API 都允许在参数列表中使用 (0,0) 值作为部件和状态 ID,最常见的情况是使用 DrawThemeBackground 绘制背景。 这表示要使用更高级别的元素中的数据。 部件 0 可以解释为“此元素所有部件都相同的数据”,而状态 0 可以解释为“此部件所有状态都相同的数据”。 只有在未定义状态时才使用 stateId=0。
标准控件和 Windows 的部件和状态
下表列出了控件类、部件和状态。 表中的值在 Vsstyle.h 和 Vssym32.h 中定义。
类 | 组成部分 | 状态 |
---|---|---|
BUTTON | BP_CHECKBOX | CBS_CHECKEDDISABLED、CBS_CHECKEDHOT、CBS_CHECKEDNORMAL、CBS_CHECKEDPRESSED、CBS_MIXEDDISABLED、CBS_MIXEDHOT、CBS_MIXEDNORMAL、CBS_MIXEDPRESSED、CBS_UNCHECKEDDISABLED、CBS_UNCHECKEDHOT、CBS_UNCHECKEDNORMAL、CBS_UNCHECKEDPRESSED |
BP_COMMANDLINK | CMDLS_DEFAULTED、CMDLS_DEFAULTED_ANIMATING、CMDLS_DISABLED、CMDLS_HOT、CMDLS_NORMAL、CMDLS_PRESSED | |
BP_COMMANDLINKGLYPH | CMDLGS_DEFAULTED、CMDLGS_DISABLED、CMDLGS_HOT、CMDLGS_NORMAL、CMDLGS_PRESSED、 | |
BP_GROUPBOX | GBS_DISABLED、GBS_NORMAL | |
BP_PUSHBUTTON | PBS_DEFAULTED、PBS_DISABLED、PBS_HOT、PBS_NORMAL、PBS_PRESSED | |
BP_RADIOBUTTON | RBS_CHECKEDDISABLED、RBS_CHECKEDHOT、RBS_CHECKEDNORMAL、RBS_CHECKEDPRESSED、RBS_UNCHECKEDDISABLED、RBS_UNCHECKEDHOT、RBS_UNCHECKEDNORMAL、RBS_UNCHECKEDPRESSED | |
BP_USERBUTTON | ||
CLOCK | CLP_TIME | CLS_NORMAL、CLS_HOT (Windows 7)、CLS_PRESSED (Windows 7) |
COMBOBOX | CP_BACKGROUND | |
CP_BORDER | CBB_DISABLED、CBB_FOCUSED、CBB_HOT、CBB_NORMAL | |
CP_CUEBANNER | CBCB_DISABLED、CBCB_HOT、CBCB_NORMAL、CBCB_PRESSED | |
CP_DROPDOWNBUTTON | CBXS_DISABLED、CBXS_HOT、CBXS_NORMAL、CBXS_PRESSED | |
CP_DROPDOWNBUTTONLEFT | CBXSL_DISABLED、CBXSL_HOT、CBXSL_NORMAL、CBXSL_PRESSED | |
CP_DROPDOWNBUTTONRIGHT | CBXSR_DISABLED、CBXSR_HOT、CBXSR_NORMAL、CBXSR_PRESSED | |
CP_TRANSPARENTBACKGROUND | CBTBS_DISABLED、CBTBS_FOCUSED、CBTBS_HOT、CBTBS_NORMAL | |
CP_READONLY | CBRO_DISABLED、CBRO_HOT、CBRO_NORMAL、CBRO_PRESSED | |
COMMUNICATIONS | CSST_TAB | CSTB_HOT、CSTB_NORMAL、CSTB_SELECTED |
CONTROLPANEL | CPANEL_BANNERAREA | |
CPANEL_BODYTEXT | ||
CPANEL_BODYTITLE | ||
CPANEL_BUTTON | ||
CPANEL_CONTENTLINK | CPCL_DISABLED、CPCL_HOT、CPCL_NORMAL、CPCL_PRESSED | |
CPANEL_CONTENTPANE | ||
CPANEL_CONTENTPANELABEL | ||
CPANEL_CONTENTPANELINE | ||
CPANEL_GROUPTEXT | ||
CPANEL_HELPLINK | CPHL_DISABLED、CPHL_HOT、CPHL_NORMAL、CPHL_PRESSED | |
CPANEL_LARGECOMMANDAREA | ||
CPANEL_MESSAGETEXT | ||
CPANEL_NAVIGATIONPANE | ||
CPANEL_NAVIGATIONPANELABEL | ||
CPANEL_NAVIGATIONPANELINE | ||
CPANEL_SECTIONTITLELINK | CPSTL_HOT、CPSTL_NORMAL | |
CPANEL_SMALLCOMMANDAREA | ||
CPANEL_TASKLINK | CPTL_DISABLED、CPTL_HOT、CPTL_NORMAL、CPTL_PAGE、CPTL_PRESSED | |
CPANEL_TITLE | ||
DATEPICKER | DP_DATEBORDER | DPDB_DISABLED、DPDB_FOCUSED、DPDB_HOT、DPDB_NORMAL |
DP_DATETEXT | DPDT_DISABLED、DPDT_NORMAL、DPDT_SELECTED | |
DP_SHOWCALENDARBUTTONRIGHT | DPSCBR_DISABLED、DPSCBR_HOT、DPSCBR_NORMAL、DPSCBR_PRESSED | |
DRAGDROP | DD_COPY | DDCOPY_HIGHLIGHT、DDCOPY_NOHIGHLIGHT |
DD_CREATELINK | DDCREATELINK_HIGHLIGHT、DDCREATELINK_NOHIGHLIGHT | |
DD_IMAGEBG | ||
DD_MOVE | DDMOVE_HIGHLIGHT、DDMOVE_NOHIGHLIGHT | |
DD_NONE | DDNONE_HIGHLIGHT、DDNONE_NOHIGHLIGHT | |
DD_TEXTBG | ||
DD_UPDATEMETADATA | DDUPDATEMETADATA_HIGHLIGHT、DDUPDATEMETADATA_NOHIGHLIGHT | |
DD_WARNING | DDWARNING_HIGHLIGHT、DDWARNING_NOHIGHLIGHT | |
编辑 | EP_BACKGROUND | EBS_ASSIST、EBS_DISABLED、EBS_FOCUSED、EBS_HOT、EBS_NORMAL、EBS_READONLY |
EP_BACKGROUNDWITHBORDER | EBWBS_DISABLED、EBWBS_FOCUSED、EBWBS_HOT、EBWBS_NORMAL | |
EP_CARET | ||
EP_EDITBORDER_HSCROLL | EPSH_DISABLED、EPSH_FOCUSED、EPSH_HOT、EPSH_NORMAL | |
EP_EDITBORDER_HVSCROLL | EPSHV_DISABLED、EPSHV_FOCUSED、EPSHV_HOT、EPSHV_NORMAL | |
EP_EDITBORDER_NOSCROLL | EPSN_DISABLED、EPSN_FOCUSED、EPSN_HOT、EPSN_NORMAL | |
EP_EDITBORDER_VSCROLL | EPSV_DISABLED、EPSV_FOCUSED、EPSV_HOT、EPSV_NORMAL | |
EP_EDITTEXT | ETS_ASSIST、ETS_CUEBANNER、ETS_DISABLED、ETS_FOCUSED、ETS_HOT、ETS_NORMAL、ETS_READONLY、ETS_SELECTED | |
EP_PASSWORD | ||
EXPLORERBAR | EBP_HEADERBACKGROUND | |
EBP_HEADERCLOSE | EBHC_HOT、EBHC_NORMAL、EBHC_PRESSED | |
EBP_HEADERPIN | EBHP_HOT、EBHP_NORMAL、EBHP_PRESSED、EBHP_SELECTEDHOT、EBHP_SELECTEDNORMAL、EBHP_SELECTEDPRESSED | |
EBP_IEBARMENU | EBM_HOT、EBM_NORMAL、EBM_PRESSED | |
EBP_NORMALGROUPBACKGROUND | ||
EBP_NORMALGROUPCOLLAPSE | EBNGC_HOT、EBNGC_NORMAL、EBNGC_PRESSED | |
EBP_NORMALGROUPEXPAND | EBNGE_HOT、EBNGE_NORMAL、EBNGE_PRESSED | |
EBP_NORMALGROUPHEAD | ||
EBP_SPECIALGROUPBACKGROUND | ||
EBP_SPECIALGROUPCOLLAPSE | EBSGC_HOT、EBSGC_NORMAL、EBSGC_PRESSED | |
EBP_SPECIALGROUPEXPAND | EBSGE_HOT、EBSGE_NORMAL、EBSGE_PRESSED | |
EBP_SPECIALGROUPHEAD | ||
FLYOUT | FLYOUT_BODY | FBS_EMPHASIZED、FBS_NORMAL |
FLYOUT_DIVIDER | ||
FLYOUT_HEADER | ||
FLYOUT_LABEL | FLS_DISABLED、FLS_EMPHASIZED、FLS_NORMAL、FLS_SELECTED | |
FLYOUT_LINK | FLYOUTLINK_HOVER、FLYOUTLINK_NORMAL | |
FLYOUT_LINKAREA | ||
FLYOUT_LINKHEADER | FLH_HOVER、FLH_NORMAL | |
FLYOUT_WINDOW | ||
GLOBALS | GP_BORDER | BSS_FLAT、BSS_RAISED、BSS_SUNKEN |
GP_LINEHORZ | LHS_FLAT、LHS_RAISED、LHS_SUNKEN | |
GP_LINEVERT | LVS_FLAT、LVS_RAISED、LVS_SUNKEN | |
标头 | HP_HEADERDROPDOWN | HDDS_HOT、HDDS_NORMAL、HDDS_SOFTHOT |
HP_HEADERDROPDOWNFILTER | HDDFS_HOT、HDDFS_NORMAL、HDDFS_SOFTHOT | |
HP_HEADERITEM | HIS_HOT、HIS_ICONHOT、HIS_ICONNORMAL、HIS_ICONPRESSED、HIS_ICONSORTEDHOT、HIS_ICONSORTEDNORMAL、HIS_ICONSORTEDPRESSED、HIS_NORMAL、HIS_PRESSED、HIS_SORTEDNORMAL、HIS_SORTEDHOT、HIS_SORTEDPRESSED | |
HP_HEADERITEMLEFT | HILS_HOT、HILS_NORMAL、HILS_PRESSED | |
HP_HEADERITEMRIGHT | HIRS_HOT、HIRS_NORMAL、HIRS_PRESSED | |
HP_HEADEROVERFLOW | HOFS_HOT、HOFS_NORMAL | |
HP_HEADERSORTARROW | HSAS_SORTEDDOWN、HSAS_SORTEDUP | |
LISTBOX | LBCP_BORDER_HSCROLL | LBPSH_DISABLED、LBPSH_FOCUSED、LBPSH_HOT、LBPSH_NORMAL |
LBCP_BORDER_HVSCROLL | LBPSHV_DISABLED、LBPSHV_FOCUSED、LBPSHV_HOT、LBPSHV_NORMAL | |
LBCP_BORDER_NOSCROLL | LBPSN_DISABLED、LBPSN_FOCUSED、LBPSN_HOT、LBPSN_NORMAL | |
LBCP_BORDER_VSCROLL | LBPSV_DISABLED、LBPSV_FOCUSED、LBPSV_HOT、LBPSV_NORMAL | |
LBCP_ITEM | LBPSI_HOT、LBPSI_HOTSELECTED、LBPSI_SELECTED、LBPSI_SELECTEDNOTFOCUS | |
LISTVIEW | LVP_COLLAPSEBUTTON | LVCB_HOVER、LVCB_NORMAL、LVCB_PUSHED |
LVP_COLUMNDETAIL | ||
LVP_EMPTYTEXT | ||
LVP_EXPANDBUTTON | LVEB_HOVER、LVEB_NORMAL、LVEB_PUSHED | |
LVP_GROUPHEADER | LVGH_CLOSE、LVGH_CLOSEHOT、LVGH_CLOSESELECTED、LVGH_CLOSESELECTEDHOT、LVGH_CLOSESELECTEDNOTFOCUSED、LVGH_CLOSESELECTEDNOTFOCUSEDHOT、LVGH_CLOSEMIXEDSELECTION、LVGH_CLOSEMIXEDSELECTIONHOT、LVGH_OPEN、LVGH_OPENHOT、LVGH_OPENSELECTED、LVGH_OPENSELECTEDHOT、LVGH_OPENSELECTEDNOTFOCUSED、LVGH_OPENSELECTEDNOTFOCUSEDHOT、LVGH_OPENMIXEDSELECTION、LVGH_OPENMIXEDSELECTIONHOT | |
LVP_GROUPHEADERLINE | LVGHL_CLOSE、LVGHL_CLOSEHOT、LVGHL_CLOSESELECTED、LVGHL_CLOSESELECTEDHOT、LVGHL_CLOSESELECTEDNOTFOCUSED、LVGHL_CLOSESELECTEDNOTFOCUSEDHOT、LVGHL_CLOSEMIXEDSELECTION、LVGHL_CLOSEMIXEDSELECTIONHOT、LVGHL_OPEN、LVGHL_OPENHOT、LVGHL_OPENSELECTED、LVGHL_OPENSELECTEDHOT、LVGHL_OPENSELECTEDNOTFOCUSED、LVGHL_OPENSELECTEDNOTFOCUSEDHOT、LVGHL_OPENMIXEDSELECTION、LVGHL_OPENMIXEDSELECTIONHOT | |
LVP_LISTGROUP | ||
LVP_LISTDETAIL | ||
LVP_LISTITEM | LISS_DISABLED、LISS_HOT、LISS_HOTSELECTED、LISS_NORMAL、LISS_SELECTED、LISS_SELECTEDNOTFOCUS | |
LVP_LISTSORTEDDETAIL | ||
MENU | MENU_BARBACKGROUND | MB_ACTIVE、MB_INACTIVE |
MENU_BARITEM | MBI_DISABLED、MBI_DISABLEDHOT、MBI_DISABLEDPUSHED、MBI_HOT、MBI_NORMAL、MBI_PUSHED | |
MENU_CHEVRON_TMSCHEMA | ||
MENU_MENUBARDROPDOWN_TMSCHEMA | ||
MENU_MENUBARITEM_TMSCHEMA | ||
MENU_MENUDROPDOWN_TMSCHEMA | ||
MENU_MENUITEM_TMSCHEMA | ||
MENU_POPUPBACKGROUND | ||
MENU_POPUPBORDERS | ||
MENU_POPUPCHECK | MC_BULLETDISABLED、MC_BULLETNORMAL、MC_CHECKMARKDISABLED、MC_CHECKMARKNORMAL | |
MENU_POPUPCHECKBACKGROUND | MCB_BITMAP、MCB_DISABLED、MCB_NORMAL | |
MENU_POPUPGUTTER | ||
MENU_POPUPITEM | MPI_DISABLED、MPI_DISABLEDHOT、MPI_HOT、MPI_NORMAL | |
MENU_POPUPITEM_FOCUSABLE | MPIF_NORMAL、MPIF_HOT、MPIF_DISABLED、MPIF_DISABLEDHOT | |
MENU_POPUPITEMKBFOCUS | MPIKBFOCUS_NORMAL | |
MENU_POPUPSEPARATOR | ||
MENU_POPUPSUBMENU | MSM_DISABLED、MSM_NORMAL | |
MENU_SEPARATOR_TMSCHEMA | ||
MENU_SYSTEMCLOSE | MSYSC_DISABLED、MSYSC_NORMAL | |
MENU_SYSTEMMAXIMIZE | MSYSMX_DISABLED、MSYSMX_NORMAL | |
MENU_SYSTEMMINIMIZE | MSYSMN_DISABLED、MSYSMN_NORMAL | |
MENU_SYSTEMRESTORE | MSYSR_DISABLED、MSYSR_NORMAL | |
MENUBAND | MDP_NEWAPPBUTTON | MDS_CHECKED、MDS_DISABLED、MDS_HOT、MDS_HOTCHECKED、MDS_NORMAL、MDS_PRESSED |
MDP_SEPERATOR | ||
NAVIGATION | NAV_BACKBUTTON | NAV_BB_DISABLED、NAV_BB_HOT、NAV_BB_NORMAL、NAV_BB_PRESSED |
NAV_FORWARDBUTTON | NAV_FB_DISABLED、NAV_FB_HOT、NAV_FB_NORMAL、NAV_FB_PRESSED | |
NAV_MENUBUTTON | NAV_MB_DISABLED、NAV_MB_HOT、NAV_MB_NORMAL、NAV_MB_PRESSED | |
PAGE | PGRP_DOWN | DNS_DISABLED、DNS_HOT、DNS_NORMAL、DNS_PRESSED |
PGRP_DOWNHORZ | DNHZS_DISABLED、DNHZS_HOT、DNHZS_NORMAL、DNHZS_PRESSED | |
PGRP_UP | UPS_DISABLED、UPS_HOT、UPS_NORMAL、UPS_PRESSED | |
PGRP_UPHORZ | UPHZS_DISABLED、UPHZS_HOT、UPHZS_NORMAL、UPHZS_PRESSED | |
进度 | PP_BAR | |
PP_BARVERT | ||
PP_CHUNK | ||
PP_CHUNKVERT | ||
PP_FILL | PBFS_ERROR、PBFS_NORMAL、PBFS_PARTIAL、PBFS_PAUSED | |
PP_FILLVERT | PBFVS_ERROR、PBFVS_NORMAL、PBFVS_PARTIAL、PBFVS_PAUSED | |
PP_MOVEOVERLAY | ||
PP_MOVEOVERLAYVERT | ||
PP_PULSEOVERLAY | ||
PP_PULSEOVERLAYVERT | ||
PP_TRANSPARENTBAR | PBBS_NORMAL、PBBS_PARTIAL | |
PP_TRANSPARENTBARVERT | PBBVS_NORMAL、PBBVS_PARTIAL | |
REBAR | RP_BACKGROUND | |
RP_BAND | ||
RP_CHEVRON | CHEVS_HOT、CHEVS_NORMAL、CHEVS_PRESSED | |
RP_CHEVRONVERT | CHEVSV_HOT、CHEVSV_NORMAL、CHEVSV_PRESSED | |
RP_GRIPPER | ||
RP_GRIPPERVERT | ||
RP_SPLITTER | SPLITS_HOT、SPLITS_NORMAL、SPLITS_PRESSED | |
RP_SPLITTERVERT | SPLITSV_HOT、SPLITSV_NORMAL、SPLITSV_PRESSED | |
SCROLLBAR | SBP_ARROWBTN | ABS_DOWNDISABLED、ABS_DOWNHOT、ABS_DOWNNORMAL、ABS_DOWNPRESSED、ABS_DOWNHOVER、ABS_LEFTDISABLED、ABS_LEFTHOT、ABS_LEFTHOVER、ABS_LEFTNORMAL、ABS_LEFTPRESSED、ABS_RIGHTDISABLED、ABS_RIGHTHOT、ABS_RIGHTHOVER、ABS_RIGHTNORMAL、ABS_RIGHTPRESSED、ABS_UPDISABLED、ABS_UPHOT、ABS_UPHOVER、ABS_UPNORMAL、ABS_UPPRESSED、 |
SBP_GRIPPERHORZ | SCRBS_DISABLED、SCRBS_HOT、SCRBS_HOVER、SCRBS_NORMAL、SCRBS_PRESSED | |
SBP_GRIPPERVERT | SCRBS_DISABLED、SCRBS_HOT、SCRBS_HOVER、SCRBS_NORMAL、SCRBS_PRESSED | |
SBP_LOWERTRACKHORZ | SCRBS_DISABLED、SCRBS_HOT、SCRBS_HOVER、SCRBS_NORMAL、SCRBS_PRESSED | |
SBP_LOWERTRACKVERT | SCRBS_DISABLED、SCRBS_HOT、SCRBS_HOVER、SCRBS_NORMAL、SCRBS_PRESSED | |
SBP_SIZEBOX | SZB_HALFBOTTOMRIGHTALIGN、SZB_HALFBOTTOMLEFTALIGN、SZB_HALFTOPRIGHTALIGN、SZB_HALFTOPLEFTALIGN、SZB_LEFTALIGN、SZB_RIGHTALIGN、SZB_TOPRIGHTALIGN、SZB_TOPLEFTALIGN | |
SBP_THUMBBTNHORZ | SCRBS_DISABLED、SCRBS_HOT、SCRBS_HOVER、SCRBS_NORMAL、SCRBS_PRESSED | |
SBP_THUMBBTNVERT | SCRBS_DISABLED、SCRBS_HOT、SCRBS_HOVER、SCRBS_NORMAL、SCRBS_PRESSED | |
SBP_UPPERTRACKHORZ | SCRBS_DISABLED、SCRBS_HOT、SCRBS_HOVER、SCRBS_NORMAL、SCRBS_PRESSED | |
SBP_UPPERTRACKVERT | SCRBS_DISABLED、SCRBS_HOT、SCRBS_HOVER、SCRBS_NORMAL、SCRBS_PRESSED | |
SEARCHEDITBOX | SEBP_SEARCHEDITBOXTEXT (Windows 7) | SEBTS_FORMATTED |
SPIN | SPNP_DOWN | DNS_DISABLED、DNS_HOT、DNS_NORMAL、DNS_PRESSED |
SPNP_DOWNHORZ | DNHZS_DISABLED、DNHZS_HOT、DNHZS_NORMAL、DNHZS_PRESSED | |
SPNP_UP | UPS_DISABLED、UPS_HOT、UPS_NORMAL、UPS_PRESSED | |
SPNP_UPHORZ | UPHZS_DISABLED、UPHZS_HOT、UPHZS_NORMAL、UPHZS_PRESSED | |
STARTPANEL | SPP_LOGOFF | |
SPP_LOGOFFBUTTONS | SPLS_HOT、SPLS_NORMAL、SPLS_PRESSED | |
SPP_MOREPROGRAMS | ||
SPP_MOREPROGRAMSARROW | SPS_HOT、SPS_NORMAL、SPS_PRESSED | |
SPP_PLACESLIST | ||
SPP_PLACESLISTSEPARATOR | ||
SPP_PREVIEW | ||
SPP_PROGLIST | ||
SPP_PROGLISTSEPARATOR | ||
SPP_USERPANE | ||
SPP_USERPICTURE | ||
状态 | SP_GRIPPER | |
SP_GRIPPERPANE | ||
SP_PANE | ||
Tab | TABP_AEROWIZARDBODY | |
TABP_BODY | ||
TABP_PANE | ||
TABP_TABITEM | TIS_DISABLED、TIS_FOCUSED、TIS_HOT、TIS_NORMAL、TIS_SELECTED | |
TABP_TABITEMBOTHEDGE | TIBES_DISABLED、TIBES_FOCUSED、TIBES_HOT、TIBES_NORMAL、TIBES_SELECTED | |
TABP_TABITEMLEFTEDGE | TILES_DISABLED、TILES_FOCUSED、TILES_HOT、TILES_NORMAL、TILES_SELECTED | |
TABP_TABITEMRIGHTEDGE | TIRES_DISABLED、TIRES_FOCUSED、TIRES_HOT、TIRES_NORMAL、TIRES_SELECTED | |
TABP_TOPTABITEM | TTIS_DISABLED、TTIS_FOCUSED、TTIS_HOT、TTIS_NORMAL、TTIS_SELECTED | |
TABP_TOPTABITEMBOTHEDGE | TTIBES_DISABLED、TTIBES_FOCUSED、TTIBES_HOT、TTIBES_NORMAL、TTIBES_SELECTED | |
TABP_TOPTABITEMLEFTEDGE | TTILES_DISABLED、TTILES_FOCUSED、TTILES_HOT、TTILES_NORMAL、TTILES_SELECTED | |
TABP_TOPTABITEMRIGHTEDGE | TTIRES_DISABLED、TTIRES_FOCUSED、TTIRES_HOT、TTIRES_NORMAL、TTIRES_SELECTED | |
TASKBAND | TDP_GROUPCOUNT | |
TDP_FLASHBUTTON | ||
TDP_FLASHBUTTONGROUPMENU | ||
TASKBAR | TBP_BACKGROUNDBOTTOM | |
TBP_BACKGROUNDLEFT | ||
TBP_BACKGROUNDRIGHT | ||
TBP_BACKGROUNDTOP | ||
TBP_SIZINGBARBOTTOM | ||
TBP_SIZINGBARBOTTOMLEFT | ||
TBP_SIZINGBARRIGHT | ||
TBP_SIZINGBARTOP | ||
TASKDIALOG | TDLG_BUTTONSECTION | |
TDLG_BUTTONWRAPPER | ||
TDLG_COMMANDLINKPANE | ||
TDLG_CONTENTICON | ||
TDLG_CONTENTPANE | TDLGCPS_STANDALONE | |
TDLG_CONTROLPANE | ||
TDLG_EXPANDEDCONTENT | ||
TDLG_EXPANDEDFOOTERAREA | ||
TDLG_EXPANDOBUTTON | TDLGEBS_EXPANDEDHOVER、TDLGEBS_EXPANDEDNORMAL、TDLGEBS_EXPANDEDPRESSED、TDLGEBS_HOVER、TDLGEBS_NORMAL、TDLGEBS_PRESSED | |
TDLG_EXPANDOTEXT | ||
TDLG_FOOTNOTEAREA | ||
TDLG_FOOTNOTEPANE | ||
TDLG_FOOTNOTESEPARATOR | ||
TDLG_IMAGEALIGNMENT | ||
TDLG_MAINICON | ||
TDLG_MAININSTRUCTIONPANE | ||
TDLG_PRIMARYPANEL | ||
TDLG_PROGRESSBAR | ||
TDLG_RADIOBUTTONPANE | ||
TDLG_SECONDARYPANEL | ||
TDLG_VERIFICATIONTEXT | ||
TEXTSTYLE | TEXT_BODYTITLE | |
TEXT_BODYTEXT | ||
TEXT_CONTROLLABEL | TS_CONTROLLABEL_DISABLED、TS_CONTROLLABEL_NORMAL | |
TEXT_EXPANDED | ||
TEXT_HYPERLINKTEXT | TS_HYPERLINK_DISABLED、TS_HYPERLINK_HOT、TS_HYPERLINK_NORMAL、TS_HYPERLINK_PRESSED | |
TEXT_INSTRUCTION | ||
TEXT_LABEL | ||
TEXT_MAININSTRUCTION | ||
TEXT_SECONDARYTEXT | ||
TOOLBAR | TP_BUTTON | TS_CHECKED、TS_DISABLED、TS_HOT、TS_HOTCHECKED、TS_NEARHOT、TS_NORMAL、TS_OTHERSIDEHOT、TS_PRESSED |
TP_DROPDOWNBUTTON | TS_CHECKED、TS_DISABLED、TS_HOT、TS_HOTCHECKED、TS_NEARHOT、TS_NORMAL、TS_OTHERSIDEHOT、TS_PRESSED | |
TP_DROPDOWNBUTTONGLYPH (Windows 7) | TS_CHECKED、TS_DISABLED、TS_HOT、TS_HOTCHECKED、TS_NEARHOT、TS_NORMAL、TS_OTHERSIDEHOT、TS_PRESSED | |
TP_SEPARATOR | TS_CHECKED、TS_DISABLED、TS_HOT、TS_HOTCHECKED、TS_NEARHOT、TS_NORMAL、TS_OTHERSIDEHOT、TS_PRESSED | |
TP_SEPARATORVERT | TS_CHECKED、TS_DISABLED、TS_HOT、TS_HOTCHECKED、TS_NEARHOT、TS_NORMAL、TS_OTHERSIDEHOT、TS_PRESSED | |
TP_SPLITBUTTON | TS_CHECKED、TS_DISABLED、TS_HOT、TS_HOTCHECKED、TS_NEARHOT、TS_NORMAL、TS_OTHERSIDEHOT、TS_PRESSED | |
TP_SPLITBUTTONDROPDOWN | TS_CHECKED、TS_DISABLED、TS_HOT、TS_HOTCHECKED、TS_NEARHOT、TS_NORMAL、TS_OTHERSIDEHOT、TS_PRESSED | |
TOOLTIP | TTP_BALLOON | TTBS_LINK、TTBS_NORMAL |
TTP_BALLOONSTEM | TTBSS_POINTINGUPLEFTWALL、TTBSS_POINTINGUPCENTERED、TTBSS_POINTINGUPRIGHTWALL、TTBSS_POINTINGDOWNRIGHTWALL、TTBSS_POINTINGDOWNCENTERED、TTBSS_POINTINGDOWNLEFTWALL | |
TTP_BALLOONTITLE | ||
TTP_CLOSE | TTCS_HOT、TTCS_NORMAL、TTCS_PRESSED | |
TTP_STANDARD | TTSS_LINK、TTSS_NORMAL | |
TTP_STANDARDTITLE | TTSS_LINK、TTSS_NORMAL | |
TTP_WRENCH (Windows 7) | TTWS_NORMAL、TTWS_HOT、TTWS_PRESSED | |
TRACKBAR | TKP_THUMB | TUS_DISABLED、TUS_FOCUSED、TUS_HOT、TUS_NORMAL、TUS_PRESSED |
TKP_THUMBBOTTOM | TUBS_DISABLED、TUBS_FOCUSED、TUBS_HOT、TUBS_NORMAL、TUBS_PRESSED | |
TKP_THUMBLEFT | TUVLS_DISABLED、TUVLS_FOCUSED、TUVLS_HOT、TUVLS_NORMAL、TUVLS_PRESSED | |
TKP_THUMBRIGHT | TUVRS_DISABLED、TUVRS_FOCUSED、TUVRS_HOT、TUVRS_NORMAL、TUVRS_PRESSED | |
TKP_THUMBTOP | TUTS_DISABLED、TUTS_FOCUSED、TUTS_HOT、TUTS_NORMAL、TUTS_PRESSED | |
TKP_THUMBVERT | TUVS_DISABLED、TUVS_FOCUSED、TUVS_HOT、TUVS_NORMAL、TUVS_PRESSED | |
TKP_TICS | TSS_NORMAL | |
TKP_TICSVERT | TSVS_NORMAL | |
TKP_TRACK | TRS_NORMAL | |
TKP_TRACKVERT | TRVS_NORMAL | |
TRAYNOTIFY | TNP_ANIMBACKGROUND | |
TNP_BACKGROUND | ||
TREEVIEW | TVP_BRANCH | |
TVP_GLYPH | GLPS_CLOSED、GLPS_OPENED | |
TVP_HOTGLYPH | HGLPS_CLOSED、HGLPS_OPENED | |
TVP_TREEITEM | TREIS_DISABLED、TREIS_HOT、TREIS_NORMAL、TREIS_SELECTED、TREIS_SELECTEDNOTFOCUS、TREIS_HOTSELECTED | |
WINDOW | WP_CAPTION | CS_ACTIVE、CS_DISABLED、CS_INACTIVE |
WP_CAPTIONSIZINGTEMPLATE | ||
WP_CLOSEBUTTON | CBS_DISABLED、CBS_HOT、CBS_NORMAL、CBS_PUSHED | |
WP_DIALOG | ||
WP_FRAME | FS_ACTIVE、FS_INACTIVE | |
WP_FRAMEBOTTOM | ||
WP_FRAMEBOTTOMSIZINGTEMPLATE | ||
WP_FRAMELEFT | ||
WP_FRAMELEFTSIZINGTEMPLATE | ||
WP_FRAMERIGHT | ||
WP_FRAMERIGHTSIZINGTEMPLATE | ||
WP_HELPBUTTON | HBS_DISABLED、HBS_HOT、HBS_NORMAL、HBS_PUSHED | |
WP_HORZSCROLL | HSS_DISABLED、HSS_HOT、HSS_NORMAL、HSS_PUSHED | |
WP_HORZTHUMB | HTS_DISABLED、HTS_HOT、HTS_NORMAL、HTS_PUSHED | |
WP_MAXBUTTON | MAXBS_DISABLED、MAXBS_HOT、MAXBS_NORMAL、MAXBS_PUSHED | |
WP_MAXCAPTION | MXCS_ACTIVE、MXCS_DISABLED、MXCS_INACTIVE | |
WP_MDICLOSEBUTTON | ||
WP_MDIHELPBUTTON | ||
WP_MDIMINBUTTON | ||
WP_MDIRESTOREBUTTON | ||
WP_MDISYSBUTTON | ||
WP_MINBUTTON | MINBS_DISABLED、MINBS_HOT、MINBS_NORMAL、MINBS_PUSHED | |
WP_MINCAPTION | MNCS_ACTIVE、MNCS_DISABLED、MNCS_INACTIVE | |
WP_RESTOREBUTTON | RBS_DISABLED、RBS_HOT、RBS_NORMAL、RBS_PUSHED | |
WP_SMALLCAPTION | ||
WP_SMALLCAPTIONSIZINGTEMPLATE | ||
WP_SMALLCLOSEBUTTON | ||
WP_SMALLFRAMEBOTTOM | ||
WP_SMALLFRAMEBOTTOMSIZINGTEMPLATE | ||
WP_SMALLFRAMELEFT | ||
WP_SMALLFRAMELEFTSIZINGTEMPLATE | ||
WP_SMALLFRAMERIGHT | ||
WP_SMALLFRAMERIGHTSIZINGTEMPLATE | ||
WP_SMALLMAXCAPTION | ||
WP_SMALLMINCAPTION | ||
WP_SYSBUTTON | SBS_DISABLED、SBS_HOT、SBS_NORMAL、SBS_PUSHED | |
WP_VERTSCROLL | VSS_DISABLED、VSS_HOT、VSS_NORMAL、VSS_PUSHED | |
WP_VERTTHUMB | VTS_DISABLED、VTS_HOT、VTS_NORMAL、VTS_PUSHED |
注意
MENU_POPUPITEMKBFOCUS
和 MENU_POPUPITEM_FOCUSABLE
在 Windows Insider Preview 内部版本 22621 或更高版本中提供。