/* * Developed by Torben H. Nielsen */ #pragma once class SearchDialog : public CDialog { DECLARE_DYNAMIC(SearchDialog) public: SearchDialog(CWnd* pParent = NULL); // standard constructor virtual ~SearchDialog(); // Dialog Data enum { IDD = IDD_SEARCH }; protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support DECLARE_MESSAGE_MAP() virtual void OnOK(); virtual void OnCancel(); public: afx_msg void OnSetFocus(CWnd* pOldWnd); virtual BOOL OnInitDialog(); afx_msg void OnBnClickedClear(); afx_msg void OnBnClickedSearch(); };