skinfeature.h
来自「离线的RSS阅读器」· C头文件 代码 · 共 60 行
H
60 行
#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 + =
减小字号Ctrl + -
显示快捷键?