home *** CD-ROM | disk | FTP | other *** search
- // MaskDlg.h : header file
- //
-
- /////////////////////////////////////////////////////////////////////////////
- // CMaskDlg dialog
-
- class CMaskDlg : public CDialog
- {
- // Construction
- public:
- CMaskDlg(CWnd* pParent = NULL); // standard constructor
-
- // Dialog Data
- //{{AFX_DATA(CMaskDlg)
- enum { IDD = IDD_MASKDEMO_DIALOG };
- // NOTE: the ClassWizard will add data members here
- //}}AFX_DATA
-
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CMaskDlg)
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- //}}AFX_VIRTUAL
-
- // Implementation
- protected:
- HICON m_hIcon;
-
- // Generated message map functions
- //{{AFX_MSG(CMaskDlg)
- virtual BOOL OnInitDialog();
- afx_msg void OnPaint();
- afx_msg HCURSOR OnQueryDragIcon();
- afx_msg void OnKeyUpMaskedit1(short FAR* KeyCode, short Shift);
- afx_msg void OnKeyUpMaskedit2(short FAR* KeyCode, short Shift);
- afx_msg void OnKeyUpMaskedit3(short FAR* KeyCode, short Shift);
- afx_msg void OnKeyUpMaskedit4(short FAR* KeyCode, short Shift);
- afx_msg void OnSetmasktext();
- afx_msg void OnSelchangeBackcolor();
- afx_msg void OnSelchangeDisplay();
- afx_msg void OnSelchangeForecolor();
- afx_msg void OnSelchangeHighlightcolor();
- afx_msg void OnInverted();
- afx_msg void OnFlat();
- afx_msg void OnBorder();
- DECLARE_EVENTSINK_MAP()
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- private:
- COLORREF GetColor(int id);
- int m_iHeight;
- int m_iWidth;
- };
-