📄 skinfeature.h
字号:
#ifndef _SKINFEATURE_H__
#define _SKINFEATURE_H__
//Application Interface
#ifdef __cplusplus
extern "C"
{
#endif
#define ERROR_UNKNOWNFILEFORMAT 0x00001
#define ERROR_WRONGPASSWORD 0x00002
////////////////////////////////////////////////////////////////////////////
//初始化许可证信息
BOOL __stdcall InitLicenKeys(LPCTSTR licenkey);
//The InitializeSkin function initialize the skinfeature Toolkit library
bool __stdcall InitializeSkin();
BOOL __stdcall LoadSkinFile(LPCTSTR pszFileName, LPCTSTR pszPassWord = NULL);
bool __stdcall LoadSkinFromResource(HINSTANCE hInstance, LPCTSTR pszResourceName,
LPCTSTR pszResourceType, LPCTSTR pszFileName, LPCTSTR pszPassWord = NULL);
BOOL __stdcall RemoveSkin();
bool __stdcall UnLoadSkin();
bool __stdcall SetShapeWindowSkin(HWND hWnd,int nResID);
void __stdcall SetThemeColour( COLORREF color );
void __stdcall SetWindowSkinHwnd(HWND hWnd, LPCTSTR pszName = NULL);
void __stdcall SetWindowNoSkinHwnd(HWND hWnd, BOOL bChildNoSkin = TRUE);
void __stdcall RemoveWindowSkinHwnd(HWND hWnd);
void __stdcall SetDialogEraseBkgnd(HWND hWnd, BOOL bErase = TRUE);
BOOL __stdcall SetWindowSkinResID(HWND hWnd, int nResID);
void __stdcall SetMenuNoSkinHwnd(HMENU hMenu);
void __stdcall DrawSkinImageRes(HDC hdc, RECT rect, LPCTSTR pszResName,
int nLeftWidth, int nRightWidth, int nTopHeight, int nBottomHeight,
BOOL bStretchAll = FALSE, COLORREF clrTrans = 0xff00ff, BOOL bTrans = TRUE);
void __stdcall DrawSkinImage(HDC hdc, RECT rect, HBITMAP hbitmap,
int nLeftWidth, int nRightWidth, int nTopHeight, int nBottomHeight,
BOOL bStretchAll = FALSE, COLORREF clrTrans = 0xff00ff, BOOL bTrans = TRUE);
void __stdcall SetDialogBkClipRgn(HWND hWnd,BOOL bClip,BOOL bAllChild);
#ifdef __cplusplus
}
#endif //__cplusplus
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -