#if !defined(AFX_IMAGEVIEWERPROPDLG_H__6D92D510_88A4_46E4_8D50_B943B38F9B65__INCLUDED_) #define AFX_IMAGEVIEWERPROPDLG_H__6D92D510_88A4_46E4_8D50_B943B38F9B65__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 // ImageViewerPropDlg.h : header file // ///////////////////////////////////////////////////////////////////////////// // CImageViewerPropDlg dialog class CImageViewerPropDlg : public CDialog { private: //Members DISPCONTAINERPROPERTIES m_ImageViewerProps; LImageViewer *m_pImageViewer; //Methods COLORREF ShowColorDlg (COLORREF crInitial); int GetIconFileName(L_TCHAR * m_FileName); void RepaintButton(L_INT id ,COLORREF ColorRef); // Construction public: CImageViewerPropDlg(LImageViewer *pImageViewer, CWnd* pParent = NULL); // standard constructor // Dialog Data //{{AFX_DATA(CImageViewerPropDlg) enum { IDD = IDD_CONDLG_DLG }; CButton m_AllCursor; CButton m_VertCursor; CButton m_HorzCursor; CButton m_DefultCursor; CCustomEditCtrl m_edtColumns; CCustomEditCtrl m_edtRow; CComboBox m_cmbRulerStyle; CComboBox m_cmbBorderStyle; CComboBox m_cmbTextQulity; BOOL m_bShowFreeze; BOOL m_bMaintainSize; //}}AFX_DATA // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CImageViewerPropDlg) protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support //}}AFX_VIRTUAL // Implementation protected: // Generated message map functions //{{AFX_MSG(CImageViewerPropDlg) virtual BOOL OnInitDialog(); afx_msg void OnPaint(); afx_msg void OnConPropEmpty(); afx_msg void OnConPropText(); afx_msg void OnConPropShadow(); afx_msg void OnConPropActiveBorder(); afx_msg void OnConPropActiveSubCellBorder(); afx_msg void OnConPropBackground(); afx_msg void OnConPropRulerIn(); afx_msg void OnConPropRulerout(); afx_msg void OnConPropNonActive(); afx_msg void OnConPropDef(); afx_msg void OnConPropHorz(); afx_msg void OnConPropVert(); afx_msg void OnConPropAll(); afx_msg void OnApply(); virtual void OnOK(); afx_msg void OnReset(); //}}AFX_MSG DECLARE_MESSAGE_MAP() }; //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_IMAGEVIEWERPROPDLG_H__6D92D510_88A4_46E4_8D50_B943B38F9B65__INCLUDED_)