TextpropDlg.h
上传用户:ywlong9188
上传日期:2022-05-31
资源大小:2656k
文件大小:1k
- // TextpropDlg.h : header file
- //
- /////////////////////////////////////////////////////////////////////////////
- // CTextpropDlg dialog
- #include "resource.h"
- class CTextpropDlg : public CDialog
- {
- // Construction
- public:
- CTextpropDlg(CWnd* pParent = NULL); // standard constructor
- // Dialog Data
- //{{AFX_DATA(CTextpropDlg)
- enum { IDD = IDD_TEXT_PROP };
- CStatic m_cPointSize;
- CStatic m_cFontName;
- CString m_sFontName;
- CString m_sPointSize;
- CString m_sText;
- int m_nAttr;
- CString m_name;
- //}}AFX_DATA
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CTextpropDlg)
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- //}}AFX_VIRTUAL
- // Implementation
- public:
- LOGFONT m_logFont;
- int m_nSize;
- COLORREF m_cColor;
- CString m_sFaceName;
- void GetColor(COLORREF& color);
- void SetColor(COLORREF& color);
- CString GetFaceName();
- int GetSize();
- void SetText(CString& str);
- void GetText(CString& str);
- protected:
- // Generated message map functions
- //{{AFX_MSG(CTextpropDlg)
- afx_msg void OnTextSet();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };