📄 ccustomizedbutton.h
字号:
//
// CCustomizedButton.h
//
// --------------------------------------------------------
// A Practical Guide to Script-Driven Software Development
// Author: Qiming Lu Date: 6/1/2006
// MSN Messager: luqiming26@hotmail.com
// MSN Blog: http://spaces.msn.com/jemylu
// --------------------------------------------------------
#ifndef __H_CCustomizedButton__
#define __H_CCustomizedButton__
#include "CSkinButton.h"
#include "ActionDispatchIF.h"
class CCustomizedButton : public CSkinButton
{
public:
CCustomizedButton(ActionDispatchIF* pDispatch, CString strFunc, bool bStatic = false);
~CCustomizedButton();
void CreateSelf(CWnd* pParent);
virtual void TakeClickAction();
void SetSkinFile(CString const& inFile);
void SetSkinPosition(long xpos, long ypos);
private:
ActionDispatchIF* mDispatch;
CString mFuncName;
IMAGE_FUNCTION mFunction;
IMAGE_FUNCTION ConvertToFunctionNumber(CString const & strFunc);
};
#endif // __H_CCustomizedButton__
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -