This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
#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;
//三种颜色分别为文字,Button Down的背景颜色,Button Up的背景颜色
COLORREF m_TextColor;
COLORREF m_DownColor;
COLORREF m_UpColor;
};