⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 btnxpvs.hpp

📁 一个非常棒的控件.做商业软件特别适用.里面的控件涉及面非常的广,有兴趣的话可以下来用用就知道了.
💻 HPP
📖 第 1 页 / 共 2 页
字号:
static const Shortint TKP_TRACK = 0x1;
static const Shortint TKP_TRACKVERT = 0x2;
static const Shortint TKP_THUMB = 0x3;
static const Shortint TKP_THUMBBOTTOM = 0x4;
static const Shortint TKP_THUMBTOP = 0x5;
static const Shortint TKP_THUMBVERT = 0x6;
static const Shortint TKP_THUMBLEFT = 0x7;
static const Shortint TKP_THUMBRIGHT = 0x8;
static const Shortint TKP_TICS = 0x9;
static const Shortint TKP_TICSVERT = 0xa;
static const Shortint TKS_NORMAL = 0x1;
static const Shortint TRS_NORMAL = 0x1;
static const Shortint TRVS_NORMAL = 0x1;
static const Shortint TUS_NORMAL = 0x1;
static const Shortint TUS_HOT = 0x2;
static const Shortint TUS_PRESSED = 0x3;
static const Shortint TUS_FOCUSED = 0x4;
static const Shortint TUS_DISABLED = 0x5;
static const Shortint TUBS_NORMAL = 0x1;
static const Shortint TUBS_HOT = 0x2;
static const Shortint TUBS_PRESSED = 0x3;
static const Shortint TUBS_FOCUSED = 0x4;
static const Shortint TUBS_DISABLED = 0x5;
static const Shortint TUTS_NORMAL = 0x1;
static const Shortint TUTS_HOT = 0x2;
static const Shortint TUTS_PRESSED = 0x3;
static const Shortint TUTS_FOCUSED = 0x4;
static const Shortint TUTS_DISABLED = 0x5;
static const Shortint TUVS_NORMAL = 0x1;
static const Shortint TUVS_HOT = 0x2;
static const Shortint TUVS_PRESSED = 0x3;
static const Shortint TUVS_FOCUSED = 0x4;
static const Shortint TUVS_DISABLED = 0x5;
static const Shortint TUVLS_NORMAL = 0x1;
static const Shortint TUVLS_HOT = 0x2;
static const Shortint TUVLS_PRESSED = 0x3;
static const Shortint TUVLS_FOCUSED = 0x4;
static const Shortint TUVLS_DISABLED = 0x5;
static const Shortint TUVRS_NORMAL = 0x1;
static const Shortint TUVRS_HOT = 0x2;
static const Shortint TUVRS_PRESSED = 0x3;
static const Shortint TUVRS_FOCUSED = 0x4;
static const Shortint TUVRS_DISABLED = 0x5;
static const Shortint TSS_NORMAL = 0x1;
static const Shortint TSVS_NORMAL = 0x1;
static const Shortint TTP_STANDARD = 0x1;
static const Shortint TTP_STANDARDTITLE = 0x2;
static const Shortint TTP_BALLOON = 0x3;
static const Shortint TTP_BALLOONTITLE = 0x4;
static const Shortint TTP_CLOSE = 0x5;
static const Shortint TTCS_NORMAL = 0x1;
static const Shortint TTCS_HOT = 0x2;
static const Shortint TTCS_PRESSED = 0x3;
static const Shortint TTSS_NORMAL = 0x1;
static const Shortint TTSS_LINK = 0x2;
static const Shortint TTBS_NORMAL = 0x1;
static const Shortint TTBS_LINK = 0x2;
static const Shortint TVP_TREEITEM = 0x1;
static const Shortint TVP_GLYPH = 0x2;
static const Shortint TVP_BRANCH = 0x3;
static const Shortint TREIS_NORMAL = 0x1;
static const Shortint TREIS_HOT = 0x2;
static const Shortint TREIS_SELECTED = 0x3;
static const Shortint TREIS_DISABLED = 0x4;
static const Shortint TREIS_SELECTEDNOTFOCUS = 0x5;
static const Shortint GLPS_CLOSED = 0x1;
static const Shortint GLPS_OPENED = 0x2;
static const Shortint SPNP_UP = 0x1;
static const Shortint SPNP_DOWN = 0x2;
static const Shortint SPNP_UPHORZ = 0x3;
static const Shortint SPNP_DOWNHORZ = 0x4;
static const Shortint UPS_NORMAL = 0x1;
static const Shortint UPS_HOT = 0x2;
static const Shortint UPS_PRESSED = 0x3;
static const Shortint UPS_DISABLED = 0x4;
static const Shortint DNS_NORMAL = 0x1;
static const Shortint DNS_HOT = 0x2;
static const Shortint DNS_PRESSED = 0x3;
static const Shortint DNS_DISABLED = 0x4;
static const Shortint UPHZS_NORMAL = 0x1;
static const Shortint UPHZS_HOT = 0x2;
static const Shortint UPHZS_PRESSED = 0x3;
static const Shortint UPHZS_DISABLED = 0x4;
static const Shortint DNHZS_NORMAL = 0x1;
static const Shortint DNHZS_HOT = 0x2;
static const Shortint DNHZS_PRESSED = 0x3;
static const Shortint DNHZS_DISABLED = 0x4;
static const Shortint PGRP_UP = 0x1;
static const Shortint PGRP_DOWN = 0x2;
static const Shortint PGRP_UPHORZ = 0x3;
static const Shortint PGRP_DOWNHORZ = 0x4;
static const Shortint SBP_ARROWBTN = 0x1;
static const Shortint SBP_THUMBBTNHORZ = 0x2;
static const Shortint SBP_THUMBBTNVERT = 0x3;
static const Shortint SBP_LOWERTRACKHORZ = 0x4;
static const Shortint SBP_UPPERTRACKHORZ = 0x5;
static const Shortint SBP_LOWERTRACKVERT = 0x6;
static const Shortint SBP_UPPERTRACKVERT = 0x7;
static const Shortint SBP_GRIPPERHORZ = 0x8;
static const Shortint SBP_GRIPPERVERT = 0x9;
static const Shortint SBP_SIZEBOX = 0xa;
static const Shortint ABS_UPNORMAL = 0x1;
static const Shortint ABS_UPHOT = 0x2;
static const Shortint ABS_UPPRESSED = 0x3;
static const Shortint ABS_UPDISABLED = 0x4;
static const Shortint ABS_DOWNNORMAL = 0x5;
static const Shortint ABS_DOWNHOT = 0x6;
static const Shortint ABS_DOWNPRESSED = 0x7;
static const Shortint ABS_DOWNDISABLED = 0x8;
static const Shortint ABS_LEFTNORMAL = 0x9;
static const Shortint ABS_LEFTHOT = 0xa;
static const Shortint ABS_LEFTPRESSED = 0xb;
static const Shortint ABS_LEFTDISABLED = 0xc;
static const Shortint ABS_RIGHTNORMAL = 0xd;
static const Shortint ABS_RIGHTHOT = 0xe;
static const Shortint ABS_RIGHTPRESSED = 0xf;
static const Shortint ABS_RIGHTDISABLED = 0x10;
static const Shortint SCRBS_NORMAL = 0x1;
static const Shortint SCRBS_HOT = 0x2;
static const Shortint SCRBS_PRESSED = 0x3;
static const Shortint SCRBS_DISABLED = 0x4;
static const Shortint SZB_RIGHTALIGN = 0x1;
static const Shortint SZB_LEFTALIGN = 0x2;
static const Shortint EP_EDITTEXT = 0x1;
static const Shortint EP_CARET = 0x2;
static const Shortint ETS_NORMAL = 0x1;
static const Shortint ETS_HOT = 0x2;
static const Shortint ETS_SELECTED = 0x3;
static const Shortint ETS_DISABLED = 0x4;
static const Shortint ETS_FOCUSED = 0x5;
static const Shortint ETS_READONLY = 0x6;
static const Shortint ETS_ASSIST = 0x7;
static const Shortint CP_DROPDOWNBUTTON = 0x1;
static const Shortint CBXS_NORMAL = 0x1;
static const Shortint CBXS_HOT = 0x2;
static const Shortint CBXS_PRESSED = 0x3;
static const Shortint CBXS_DISABLED = 0x4;
static const Shortint CLP_TIME = 0x1;
static const Shortint CLS_NORMAL = 0x1;
static const Shortint TNP_BACKGROUND = 0x1;
static const Shortint TNP_ANIMBACKGROUND = 0x2;
static const Shortint TBP_BACKGROUNDBOTTOM = 0x1;
static const Shortint TBP_BACKGROUNDRIGHT = 0x2;
static const Shortint TBP_BACKGROUNDTOP = 0x3;
static const Shortint TBP_BACKGROUNDLEFT = 0x4;
static const Shortint TBP_SIZINGBARBOTTOM = 0x5;
static const Shortint TBP_SIZINGBARRIGHT = 0x6;
static const Shortint TBP_SIZINGBARTOP = 0x7;
static const Shortint TBP_SIZINGBARLEFT = 0x8;
static const Shortint TDP_GROUPCOUNT = 0x1;
static const Shortint TDP_FLASHBUTTON = 0x2;
static const Shortint TDP_FLASHBUTTONGROUPMENU = 0x3;
static const Shortint SPP_USERPANE = 0x1;
static const Shortint SPP_MOREPROGRAMS = 0x2;
static const Shortint SPP_MOREPROGRAMSARROW = 0x3;
static const Shortint SPP_PROGLIST = 0x4;
static const Shortint SPP_PROGLISTSEPARATOR = 0x5;
static const Shortint SPP_PLACESLIST = 0x6;
static const Shortint SPP_PLACESLISTSEPARATOR = 0x7;
static const Shortint SPP_LOGOFF = 0x8;
static const Shortint SPP_LOGOFFBUTTONS = 0x9;
static const Shortint SPP_USERPICTURE = 0xa;
static const Shortint SPP_PREVIEW = 0xb;
static const Shortint SPS_NORMAL = 0x1;
static const Shortint SPS_HOT = 0x2;
static const Shortint SPS_PRESSED = 0x3;
static const Shortint SPLS_NORMAL = 0x1;
static const Shortint SPLS_HOT = 0x2;
static const Shortint SPLS_PRESSED = 0x3;
static const Shortint EBP_HEADERBACKGROUND = 0x1;
static const Shortint EBP_HEADERCLOSE = 0x2;
static const Shortint EBP_HEADERPIN = 0x3;
static const Shortint EBP_IEBARMENU = 0x4;
static const Shortint EBP_NORMALGROUPBACKGROUND = 0x5;
static const Shortint EBP_NORMALGROUPCOLLAPSE = 0x6;
static const Shortint EBP_NORMALGROUPEXPAND = 0x7;
static const Shortint EBP_NORMALGROUPHEAD = 0x8;
static const Shortint EBP_SPECIALGROUPBACKGROUND = 0x9;
static const Shortint EBP_SPECIALGROUPCOLLAPSE = 0xa;
static const Shortint EBP_SPECIALGROUPEXPAND = 0xb;
static const Shortint EBP_SPECIALGROUPHEAD = 0xc;
static const Shortint EBHC_NORMAL = 0x1;
static const Shortint EBHC_HOT = 0x2;
static const Shortint EBHC_PRESSED = 0x3;
static const Shortint EBHP_NORMAL = 0x1;
static const Shortint EBHP_HOT = 0x2;
static const Shortint EBHP_PRESSED = 0x3;
static const Shortint EBHP_SELECTEDNORMAL = 0x4;
static const Shortint EBHP_SELECTEDHOT = 0x5;
static const Shortint EBHP_SELECTEDPRESSED = 0x6;
static const Shortint EBM_NORMAL = 0x1;
static const Shortint EBM_HOT = 0x2;
static const Shortint EBM_PRESSED = 0x3;
static const Shortint EBNGC_NORMAL = 0x1;
static const Shortint EBNGC_HOT = 0x2;
static const Shortint EBNGC_PRESSED = 0x3;
static const Shortint EBNGE_NORMAL = 0x1;
static const Shortint EBNGE_HOT = 0x2;
static const Shortint EBNGE_PRESSED = 0x3;
static const Shortint EBSGC_NORMAL = 0x1;
static const Shortint EBSGC_HOT = 0x2;
static const Shortint EBSGC_PRESSED = 0x3;
static const Shortint EBSGE_NORMAL = 0x1;
static const Shortint EBSGE_HOT = 0x2;
static const Shortint EBSGE_PRESSED = 0x3;
static const Shortint MDP_NEWAPPBUTTON = 0x1;
static const Shortint MDP_SEPERATOR = 0x2;
static const Shortint MDS_NORMAL = 0x1;
static const Shortint MDS_HOT = 0x2;
static const Shortint MDS_PRESSED = 0x3;
static const Shortint MDS_DISABLED = 0x4;
static const Shortint MDS_CHECKED = 0x5;
static const Shortint MDS_HOTCHECKED = 0x6;
static const Shortint DTT_GRAYED = 0x1;
static const Shortint HTTB_BACKGROUNDSEG = 0x0;
static const Shortint HTTB_FIXEDBORDER = 0x2;
static const Shortint HTTB_CAPTION = 0x4;
static const Shortint HTTB_RESIZINGBORDER_LEFT = 0x10;
static const Shortint HTTB_RESIZINGBORDER_TOP = 0x20;
static const Shortint HTTB_RESIZINGBORDER_RIGHT = 0x40;
static const Byte HTTB_RESIZINGBORDER_BOTTOM = 0x80;
static const Shortint HTTB_RESIZINGBORDER = 0x30;
static const Word HTTB_SIZINGTEMPLATE = 0x100;
static const Word HTTB_SYSTEMSIZINGMARGINS = 0x200;
static const Shortint MAX_INTLIST_COUNT = 0xa;
static const Shortint ETDT_DISABLE = 0x1;
static const Shortint ETDT_ENABLE = 0x2;
static const Shortint ETDT_USETABTEXTURE = 0x4;
static const Shortint ETDT_ENABLETAB = 0x6;
static const Shortint STAP_ALLOW_NONCLIENT = 0x1;
static const Shortint STAP_ALLOW_CONTROLS = 0x2;
static const Shortint STAP_ALLOW_WEBCONTENT = 0x4;
#define SZ_THDOCPROP_DISPLAYNAME "DisplayName"
#define SZ_THDOCPROP_CANONICALNAME "ThemeName"
#define SZ_THDOCPROP_TOOLTIP "ToolTip"
#define SZ_THDOCPROP_AUTHOR "author"
extern PACKAGE unsigned __stdcall (*OpenThemeData)(unsigned hwnd, WideChar * pszClassList);
extern PACKAGE unsigned __stdcall (*CloseThemeData)(unsigned hTheme);
extern PACKAGE unsigned __stdcall (*DrawThemeBackground)(unsigned hTheme, HDC hdc, int iPartId, int iStateId, const Types::PRect pRect, const Types::PRect pClipRect);
extern PACKAGE unsigned __stdcall (*DrawThemeText)(unsigned hTheme, HDC hdc, int iPartId, int iStateId, WideChar * &pszText, int iCharCount, int dwTextFlags, int dwTextFlags2, const Types::PRect pRect);
extern PACKAGE unsigned __stdcall (*GetThemeBackgroundContentRect)(unsigned hTheme, HDC hdc, int iPartId, int iStateId, const Types::PRect pBoundingRect, Types::TRect &pContentRect);
extern PACKAGE unsigned __stdcall (*GetThemeBackgroundExtent)(unsigned hTheme, HDC hdc, int iPartId, int iStateId, const Types::PRect pContentRect, Types::TRect &pExtentRect);
extern PACKAGE unsigned __stdcall (*GetThemeTextExtent)(unsigned hTheme, HDC hdc, int iPartId, int iStateId, WideChar * &pszText, int iCharCount, int dwTextFlags, const Types::PRect pBoundingRect, Types::TRect &pExtentRect);
extern PACKAGE unsigned __stdcall (*GetThemeTextMetrics)(unsigned hTheme, HDC hdc, int iPartId, int iStateId, tagTEXTMETRICA &ptm);
extern PACKAGE unsigned __stdcall (*GetThemeBackgroundRegion)(unsigned hTheme, HDC hdc, int iPartId, int iStateId, const Types::PRect pRect, HRGN &pRegion);
extern PACKAGE unsigned __stdcall (*HitTestThemeBackground)(unsigned hTheme, HDC hdc, int iPartId, int iStateId, int dwOptions, const Types::PRect pRect, HRGN hrgn, int &ptTest, Word &pwHitTestCode);
extern PACKAGE unsigned __stdcall (*DrawThemeEdge)(unsigned hTheme, HDC hdc, int iPartId, int iStateId, const Types::PRect pDestRect, Word uEdge, Word uFlags, Types::TRect &pContentRect);
extern PACKAGE unsigned __stdcall (*DrawThemeIcon)(unsigned hTheme, HDC hdc, int iPartId, int iStateId, const Types::PRect pRect, unsigned himl, int iImageIndex);
extern PACKAGE int __stdcall (*IsThemePartDefined)(unsigned hTheme, int iPartId, int iStateId);
extern PACKAGE int __stdcall (*IsThemeBackGroundPartiallyTransparent)(unsigned hTheme, int iPartId, int iStateId);
extern PACKAGE unsigned __stdcall (*GetThemeColor)(unsigned hTheme, int iPartId, int iStateId, int iPropId, Graphics::TColor &pColor);
extern PACKAGE unsigned __stdcall (*GetThemeMetric)(unsigned hTheme, HDC hdc, int iPartId, int iStateId, int iPropId, int &piVal);
extern PACKAGE unsigned __stdcall (*GetThemeString)(unsigned hTheme, int iPartId, int iStateId, int iPropId, WideChar * pszBuff, int cchMaxBuffChars);
extern PACKAGE unsigned __stdcall (*GetThemeBool)(unsigned hTheme, int iPartId, int iStateId, int iPropId, BOOL &pfVal);
extern PACKAGE unsigned __stdcall (*GetThemeInt)(unsigned hTheme, int iPartId, int iStateId, int iPropId, int &piVal);
extern PACKAGE unsigned __stdcall (*GetThemeEnumValue)(unsigned hTheme, int iPartId, int iStateId, int iPropId, int &piVal);
extern PACKAGE unsigned __stdcall (*GetThemePosition)(unsigned hTheme, int iPartId, int iStateId, int iPropId, Types::TPoint &pPoint);
extern PACKAGE unsigned __stdcall (*GetThemeFont)(unsigned hTheme, HDC hdc, int iPartId, int iStateId, int iPropId, tagLOGFONTA &pFont);
extern PACKAGE unsigned __stdcall (*GetThemeRect)(unsigned hTheme, int iPartId, int iStateId, int iPropId, Types::TRect &pRect);
extern PACKAGE unsigned __stdcall (*GetThemeMargins)(unsigned hTheme, HDC hdc, int iPartId, int iStateId, int iPropId, Types::TRect &prc, Types::TRect &pMargins);
extern PACKAGE unsigned __stdcall (*GetThemeIntList)(unsigned hTheme, int iPartId, int iStateId, int iPropId, void * &pIntList);
extern PACKAGE unsigned __stdcall (*SetWindowTheme)(HWND hwnd, WideChar * &pszSubAppName, WideChar * &pszSubIdList);
extern PACKAGE unsigned __stdcall (*GetThemeFilename)(unsigned hTheme, int iPartId, int iStateId, int iPropId, WideChar * pszThemeFileName, int cchMaxBuffChars);
extern PACKAGE int __stdcall (*GetThemeSysColor)(unsigned hTheme, int iColorId);
extern PACKAGE int __stdcall (*GetThemeSysColorBrush)(unsigned hTheme, int iColorId);
extern PACKAGE int __stdcall (*GetThemeSysBool)(unsigned hTheme, int iBoolId);
extern PACKAGE int __stdcall (*GetThemeSysSize)(unsigned hTheme, int iSizeId);
extern PACKAGE unsigned __stdcall (*GetThemeSysFont)(unsigned hTheme, int iFontId, tagLOGFONTA &plf);
extern PACKAGE unsigned __stdcall (*GetThemeSysString)(unsigned hTheme, int iStringId, WideChar * pszStringBuff, int cchMaxStringChars);
extern PACKAGE unsigned __stdcall (*GetThemeSysInt)(unsigned hTheme, int iIntId, int &piValue);
extern PACKAGE BOOL __stdcall (*IsThemeActive)(void);
extern PACKAGE BOOL __stdcall (*IsAppThemed)(void);
extern PACKAGE int __stdcall (*GetWindowTheme)(HWND hwnd);
extern PACKAGE unsigned __stdcall (*EnableThemeDialogTexture)(HWND hwnd, int dwFlags);
extern PACKAGE BOOL __stdcall (*IsThemeDialogTextureEnabled)(HWND hwnd);
extern PACKAGE unsigned __stdcall (*GetThemeAppProperties)(void);
extern PACKAGE int __stdcall (*SetThemeAppProperties)(unsigned dwFlags);
extern PACKAGE unsigned __stdcall (*GetCurrentThemeName)(WideChar * pszThemeFileName, int cchMaxNameChars, WideChar * pszColorBuff, int cchMaxColorChars, WideChar * pszSizeBuff, int cchMaxSizeChars);
extern PACKAGE unsigned __stdcall (*GetThemeDocumentationProperty)(WideChar * pszThemeName, WideChar * &pszPropertyName, WideChar * pszValueBuff, int cchMaxValChars);
extern PACKAGE unsigned __stdcall (*DrawThemeParentBackground)(HWND hwnd, HDC hdc, Types::TRect &prc);
extern PACKAGE unsigned __stdcall (*EnableTheming)(BOOL fEnable);

}	/* namespace Btnxpvs */
using namespace Btnxpvs;
#pragma pack(pop)
#pragma option pop

#pragma delphiheader end.
//-- end unit ----------------------------------------------------------------
#endif	// Btnxpvs

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -