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

📄 skinbeautyexport.h

📁 一个基于sim300的短信息收发程序。主要功能都可以实现。带有中文注解和说明。很不错的。
💻 H
字号:
#ifndef __SKINBEAUTY__EXPORT__H__
#define __SKINBEAUTY__EXPORT__H__

#ifdef SKINBEAUTY_LIB_EXPORT
	#define SKINBEAUTY__API extern "C" __declspec(dllexport)
#else
	#define SKINBEAUTY__API extern "C" __declspec(dllimport)
#endif


//the Windows control typed by ID
//控件窗口类型编号
#define  TYPE_UNKNOWN				 -1
#define  TYPE_BUTTON				  1
#define  TYPE_EDIT                    2
#define  TYPE_COMBOBOX                3
#define  TYPE_SCROLLBAR               4
#define  TYPE_LISTBOX                 5
#define  TYPE_STATIC                  6
#define  TYPE_RADIO                   7
#define  TYPE_CHECK                   8
#define  TYPE_DLG                     9
#define  TYPE_PROGRESS                10
#define  TYPE_MENU			          11
#define  TYPE_SPIN					  12
#define  TYPE_SLIDER			      13
#define  TYPE_GROUP                   14
#define  TYPE_TREECTRL                15
#define  TYPE_LISTCTRL                16
#define  TYPE_TOOLTIPCTRL             17
#define  TYPE_HEADCTRL                18
#define  TYPE_IPCTRL                  19
#define  TYPE_HOTKEY                  20
#define  TYPE_RICHEDIT                21

#define  TYPE_ANIMATECTRL             22
#define  TYPE_TABCTRL                 23
#define  TYPE_MONTHCALCTRL            24
#define  TYPE_DATETIMECTRL            25
#define  TYPE_STATUSBAR               26

#define  TYPE_TOOLBAR                 27
#define  TYPE_REBAR                   28
#define  TYPE_CONTROLBAR              29
#define  TYPE_FRAMEWND                30

#define  TYPE_MINI_FRAMEWND           31

//
////  Load & UnLoad Skin               Fun.Group
//

//load the skin with a skin-file from a path.
//[IN]:absolute file path 
SKINBEAUTY__API BOOL SkinLoad(char* szSkinPath);

//
//unload the skin. 
//
//COMMENT: normally, it's unnecessory to call this function,
//just when the user expect to force the process to unload the skin.
//the Skin-Engine will automatically unload itself before exit.
//
SKINBEAUTY__API BOOL SkinUnLoad(void);





//
////  User Config                      Fun.Group
//

//build the unSkin-Ctrl-List by Ctrl's type or ID. 
//[IN]:the count of Ctrl type/ID that to be set; Ctrl type/ID array
SKINBEAUTY__API void BuildUnSkinCtrlType(int nCount, int aCtrlType[]);
SKINBEAUTY__API void BuildUnSkinCtrlID(int nCount, DWORD aCtrlID[]);


//bind a skin_resource with a Ctrl by Ctrl ID or by handle
//[IN]:user resource define in the skin-file; the ID/handle of Ctrl to be set 
SKINBEAUTY__API void BindRes2CtrlbyID(int nUserResID,DWORD dwCtrlID);
SKINBEAUTY__API BOOL BindRes2CtrlbyHWND(int nUserResID,HWND hWnd);


//is skin the owner/custom-draw style ctrl?  get and set the Flag 
SKINBEAUTY__API BOOL GetIsSkinOwnerDrawCtrl(void);
SKINBEAUTY__API void SetSkinOwnerCrawCtrl(BOOL bSkin);


//
//all the functions above are very easy to understand it's usage
//for more detail, U could see the help-files adhere with the product,
//												www.afe-soft.com
//
#endif //__SKINBEAUTY__EXPORT__H__

⌨️ 快捷键说明

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