// WatchDogDlg.h : header file // #pragma once #include "afxwin.h" // CWatchDogDlg dialog class CWatchDogDlg : public CDialog { // Construction public: int second; int wdtTime; CWatchDogDlg(CWnd* pParent = NULL); // standard constructor //void OnTimer(UINT nIDEvent); void OnStartTimer(); void StopTimer(); // Dialog Data enum { IDD = IDD_WATCHDOG_DIALOG }; protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support // Implementation protected: HICON m_hIcon; // Generated message map functions virtual BOOL OnInitDialog(); #if defined(_DEVICE_RESOLUTION_AWARE) && !defined(WIN32_PLATFORM_WFSP) afx_msg void OnSize(UINT /*nType*/, int /*cx*/, int /*cy*/); #endif DECLARE_MESSAGE_MAP() public: afx_msg void OnBnClickedButton1(); afx_msg void OnBnClickedButton2(); afx_msg void OnBnClickedButton3(); afx_msg void OnTimer(UINT nIDEvent); CComboBox cmbDogMode; };