www.pudn.com > src.rar > AskCharDlg.h
#if !defined(AFX_ASKCHARDLG_H__8E786073_5A93_4D52_B59D_4FAF8015A533__INCLUDED_)
#define AFX_ASKCHARDLG_H__8E786073_5A93_4D52_B59D_4FAF8015A533__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// AskCharDlg.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CAskCharDlg dialog
class CAskCharDlg : public CDialog
{
// Construction
public:
CAskCharDlg(bool fCanUndoExtend, bool fCanBeExtended, CPoint subpicpos,
CDC& dc, CBitmap& bm, CRect rect,
CString preview, CString suggested = _T(""),
CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CAskCharDlg)
enum { IDD = IDD_ASKCHARDLG };
CButton m_undoextend;
CButton m_extend;
CButton m_ok;
CEdit m_edit;
CString m_str;
CString m_preview;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CAskCharDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
bool m_fCanUndoExtend, m_fCanBeExtended;
CPoint m_subpicpos;
CFont m_font;
CSize m_orgwin, m_orgcli;
CDC& m_dc;
CBitmap& m_bm;
CRect m_rect;
// Generated message map functions
//{{AFX_MSG(CAskCharDlg)
virtual BOOL OnInitDialog();
afx_msg void OnExtend();
afx_msg void OnChangeEdit1();
afx_msg void OnUndoextend();
afx_msg void OnPaint();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_ASKCHARDLG_H__8E786073_5A93_4D52_B59D_4FAF8015A533__INCLUDED_)