#if !defined(AFX_WINLEVELPRPODLG_H__E89265E6_9A3A_45D6_8A8B_54FEEC34EF38__INCLUDED_) #define AFX_WINLEVELPRPODLG_H__E89265E6_9A3A_45D6_8A8B_54FEEC34EF38__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 // WinLevelPrpoDlg.h : header file // ///////////////////////////////////////////////////////////////////////////// // CWinLevelPrpoDlg dialog class CWinLevelPrpoDlg : public CDialog { private: LImageViewer *m_pImageViewer; DISPWLEVELACTIONPROPS m_WindowLevelProp; COLORREF m_crColorIn; COLORREF m_crColorOut; HCURSOR m_hOldCursor; // Construction public: CWinLevelPrpoDlg(LImageViewer *pImageViewer, CWnd* pParent = NULL); // standard constructor L_VOID GetKeyboardAction(CComboBox * pVComboBox, CComboBox * pModComboBox, L_INT nAction, L_INT nMouseDirection); L_INT GetIconFileName(L_TCHAR * m_FileName); COLORREF ShowColorDlg (COLORREF crInitial); void RepaintButton(L_INT id ,COLORREF ColorRef); // Dialog Data //{{AFX_DATA(CWinLevelPrpoDlg) enum { IDD = IDD_WLPROP_DLG }; CCustomEditCtrl m_edtCenter; CCustomEditCtrl m_edtWidth; CCustomEditCtrl m_edtSubCellIndex; CCustomEditCtrl m_edtCellIndex; CComboBox m_cmbModifier; CComboBox m_cmbDownKey; CComboBox m_cmbRightKey; CComboBox m_cmbLeftKey; CComboBox m_cmbUpKey; CButton m_ActionCursor; CComboBox m_cmbFillType; CComboBox m_cmbSubCellIndex; CComboBox m_cmbCell; UINT m_uSensitivity; BOOL m_bCircleMouse; //}}AFX_DATA // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CWinLevelPrpoDlg) protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support //}}AFX_VIRTUAL // Implementation protected: // Generated message map functions //{{AFX_MSG(CWinLevelPrpoDlg) virtual BOOL OnInitDialog(); afx_msg void OnWLActionCur(); virtual void OnOK(); afx_msg void OnApply(); afx_msg void OnChangeWLActionCellIndex(); afx_msg void OnSelchangeWLActionCellIndex(); afx_msg void OnSelChangeWLActionSubCellIndex(); afx_msg void OnChangeWLActionSubCellIndex(); afx_msg void OnPaint(); afx_msg void OnWLActionClrIn(); afx_msg void OnWLActionClrOut(); //}}AFX_MSG DECLARE_MESSAGE_MAP() }; //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_WINLEVELPRPODLG_H__E89265E6_9A3A_45D6_8A8B_54FEEC34EF38__INCLUDED_)