#if !defined(AFX_ZOOMVIEWOPTIONSDLG_H__5F1ABEDE_7A22_4F4F_A054_2409464FFAF5__INCLUDED_) #define AFX_ZOOMVIEWOPTIONSDLG_H__5F1ABEDE_7A22_4F4F_A054_2409464FFAF5__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 // ZoomViewOptionsDlg.h : header file // ///////////////////////////////////////////////////////////////////////////// // CZoomViewOptionsDlg dialog class CZoomViewOptionsDlg : public CDialog { private: int m_nZoomViewIndex; pZOOMVIEWPROPS m_pZoomView; L_INT32 m_ZoomViewBorderStyle; // Construction public: CZoomViewOptionsDlg(pZOOMVIEWPROPS pZoomview, CWnd* pParent = NULL); // Construction public: ~CZoomViewOptionsDlg(); // Dailog Methods public: void FillPenCombo(int id, int nPen); void FillDstAppearanceCombo(L_INT id, L_UINT uZoomViewBorderStyle); void FillSrcAppearanceCombo(L_INT id, L_UINT uZoomViewBorderStyle); void FillBorderStyleCombo(L_INT id, L_UINT uZoomViewBorderStyle); void FillShapeCombo(L_INT id, L_UINT uZoomViewBorderStyle); COLORREF ShowColorDlg (COLORREF crInitial); L_INT GetCurSelValue(L_INT id); void RepaintButton(L_INT id ,COLORREF ColorRef); int ValidateZoomFactor(int nOldValue); void CZoomViewOptionsDlg::InitDstCombo(); // Dailog Methods // Dialog Data //{{AFX_DATA(CZoomViewOptionsDlg) enum { IDD = IDD_ZOOMVIEW_OPTIONS }; CComboBox m_cmbSrcPen; //}}AFX_DATA // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CZoomViewOptionsDlg) protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support //}}AFX_VIRTUAL // Implementation protected: // Generated message map functions //{{AFX_MSG(CZoomViewOptionsDlg) virtual BOOL OnInitDialog(); virtual void OnOK(); afx_msg void OnZoomViewSrcColor(); afx_msg void OnSrcAppearanceChange(); afx_msg void OnZoomViewSrcPenChange(); afx_msg void OnZoomViewDstColor(); afx_msg void OnZoomViewDstPenChange(); afx_msg void OnZoomViewCallouts(); afx_msg void OnZoomViewCalloutPenChange(); afx_msg void OnDrawItem(int nIDCtl, LPDRAWITEMSTRUCT lpDrawItemStruct); afx_msg void OnZoomviewCalloutcolor(); afx_msg void OnKillfocusZoomFactor(); afx_msg void OnSelChangeDstAppearance(); afx_msg void OnSelChangeDstBorderStyle(); afx_msg void OnSelChangeDstShape(); //}}AFX_MSG DECLARE_MESSAGE_MAP() }; //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_ZOOMVIEWOPTIONSDLG_H__5F1ABEDE_7A22_4F4F_A054_2409464FFAF5__INCLUDED_)