You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
711 B
C

#pragma once
// m_MyImgBtn
class CMyBottom : public CMFCButton
{
DECLARE_DYNAMIC(CMyBottom)
public:
CMyBottom();
virtual ~CMyBottom();
void SetButtonStyle(CString Tooltip);
void SetFontStyle();
void Refreash();
virtual void DrawItem(LPDRAWITEMSTRUCT lpDrawItemStruct);
void SetDownColor(COLORREF color);
void SetUpColor(COLORREF color);
void SetTextColor(COLORREF color);
protected:
DECLARE_MESSAGE_MAP()
private:
CFont m_font;
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ɫ<EFBFBD>ֱ<EFBFBD>Ϊ<EFBFBD><CEAA><EFBFBD>֣<EFBFBD>Button Down<77>ı<EFBFBD><C4B1><EFBFBD><EFBFBD><EFBFBD>ɫ<EFBFBD><C9AB>Button Up<55>ı<EFBFBD><C4B1><EFBFBD><EFBFBD><EFBFBD>ɫ
COLORREF m_TextColor;
COLORREF m_DownColor;
COLORREF m_UpColor;
};