// AutoStart.h : header file // ///////////////////////////////////////////////////////////////////////////// // CAutoStart dialog class CAutoStart : public CDialog { // Construction public: CAutoStart (CWnd* pParent = NULL); // standard constructor BOOL Create () { return CDialog::Create (m_nID, m_pParent); } void PostNcDestroy () { delete this; } // Dialog Data //{{AFX_DATA(CAutoStart) enum { IDD = IDD_ASTART_DLG }; int m_Time; //}}AFX_DATA CWnd *m_pParent; int m_nID; BOOL m_bCancel; BOOL m_bStartNow; // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CAutoStart) protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support //}}AFX_VIRTUAL // Implementation protected: // Generated message map functions //{{AFX_MSG(CAutoStart) virtual void OnCancel(); afx_msg void OnStartNow(); //}}AFX_MSG DECLARE_MESSAGE_MAP() };