// Paint.h : main header file for the PAINT application // #ifndef __AFXWIN_H__ #error include 'stdafx.h' before including this file for PCH #endif #include "resource.h" // main symbols #define WM_DOREALIZE (WM_USER + 0) ///////////////////////////////////////////////////////////////////////////// // CPaintApp: // See Paint.cpp for the implementation of this class // class CPaintApp : public CWinApp { public: ILEADRasterDlgKrn_D * m_pRasterKrnDlg; ILEADRasterDlgFile_D * m_pRasterFileDlg; int DisplayLEADError(int nCode); int m_nOpenMode; void OpenDocument(int nMode); short m_iPage; CPaintApp(); // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CPaintApp) public: virtual BOOL InitInstance(); virtual int ExitInstance(); //}}AFX_VIRTUAL // Implementation //{{AFX_MSG(CPaintApp) afx_msg void OnAppAbout(); afx_msg void OnFileOpen(); afx_msg void OnEditPaste(); afx_msg void OnUpdateEditPaste(CCmdUI* pCmdUI); //}}AFX_MSG DECLARE_MESSAGE_MAP() }; enum { OPENMODE_NEW, OPENMODE_FILE, OPENMODE_CAPTURE, OPENMODE_PASTE, OPENMODE_BITMAP, OPENMODE_TWAIN, OPENMODE_COLORMERGE, OPENMODE_ISIS, }; /////////////////////////////////////////////////////////////////////////////