#if !defined(AFX_SEGMENTATIONPROPPAGE_H__9E6801FB_FB3F_4E3C_A41C_4C4CC6577286__INCLUDED_) #define AFX_SEGMENTATIONPROPPAGE_H__9E6801FB_FB3F_4E3C_A41C_4C4CC6577286__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 // SegmentationPropPage.h : header file // ///////////////////////////////////////////////////////////////////////////// // CSegmentationPropPage dialog class CSegmentationPropPage : public CPropertyPage { DECLARE_DYNCREATE(CSegmentationPropPage) // Construction public: L_UINT m_uFlags; CSegmentationPropPage(); ~CSegmentationPropPage(); // Dialog Data //{{AFX_DATA(CSegmentationPropPage) enum { IDD = IDD_PROPPAGE_SEGMENTATION }; BOOL m_bSearchBkgnd; int m_nInputImageQuality; int m_nOutputImageQuality; int m_nType; int m_nBkgndThreshold; int m_nCleanSize; int m_nColorThreshold; int m_nCombineThreshold; int m_nQuality; int m_nBkgndThresholdSlider; int m_nCleanSizeSlider; int m_nColorThresholdSlider; int m_nCombineThresholdSlider; int m_nQualitySlider; //}}AFX_DATA // Overrides // ClassWizard generate virtual function overrides //{{AFX_VIRTUAL(CSegmentationPropPage) public: virtual void OnOK(); virtual BOOL OnApply(); protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support //}}AFX_VIRTUAL // Implementation protected: // Generated message map functions //{{AFX_MSG(CSegmentationPropPage) virtual BOOL OnInitDialog(); afx_msg void OnSelchangeComboSegmIiq(); afx_msg void OnSelchangeComboSegmOiq(); afx_msg void OnCustomdrawSliderBkgndthreshold(NMHDR* pNMHDR, LRESULT* pResult); afx_msg void OnCustomdrawSliderCleansize(NMHDR* pNMHDR, LRESULT* pResult); afx_msg void OnCustomdrawSliderCombinethreshold(NMHDR* pNMHDR, LRESULT* pResult); afx_msg void OnCustomdrawSliderQuality(NMHDR* pNMHDR, LRESULT* pResult); afx_msg void OnCustomdrawSliderColorthreshold(NMHDR* pNMHDR, LRESULT* pResult); afx_msg void OnKillfocusEditBkgndthreshold(); afx_msg void OnKillfocusEditCleansize(); afx_msg void OnKillfocusEditColorthreshold(); afx_msg void OnKillfocusEditCombinethreshold(); afx_msg void OnKillfocusEditQuality(); afx_msg void OnCheckSearchbkgnd(); afx_msg void OnSelchangeComboSegmType(); //}}AFX_MSG DECLARE_MESSAGE_MAP() }; //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_SEGMENTATIONPROPPAGE_H__9E6801FB_FB3F_4E3C_A41C_4C4CC6577286__INCLUDED_)