#if !defined(AFX_CUSTOMSPTQUERYDIAL_H__3516613E_BFFD_4AAD_85A4_16637DE1AB75__INCLUDED_) #define AFX_CUSTOMSPTQUERYDIAL_H__3516613E_BFFD_4AAD_85A4_16637DE1AB75__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 // CustomSptQueryDial.h : header file // ///////////////////////////////////////////////////////////////////////////// // CCustomSptQueryDial dialog enum EN_QUERY_RES { EN_QUE_CANCEL = 0, EN_QUE_APPEND, EN_QUE_REPLACE }; class CCustomSptQueryDial : public CDialog { // Construction public: CCustomSptQueryDial(CWnd* pParent = NULL); // standard constructor int GetOperResult(){return m_nRes;} // Dialog Data //{{AFX_DATA(CCustomSptQueryDial) enum { IDD = IDD_DIALOG_CUSTOMSPT_QUERY }; // NOTE: the ClassWizard will add data members here //}}AFX_DATA // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CCustomSptQueryDial) protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support //}}AFX_VIRTUAL // Implementation protected: // Generated message map functions //{{AFX_MSG(CCustomSptQueryDial) afx_msg void OnButtonAppend(); afx_msg void OnButtonCancel(); afx_msg void OnButtonReplace(); //}}AFX_MSG DECLARE_MESSAGE_MAP() protected: int m_nRes; }; //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_CUSTOMSPTQUERYDIAL_H__3516613E_BFFD_4AAD_85A4_16637DE1AB75__INCLUDED_)