PPTtimerDlg.h
资源名称:PPTtimer.rar [点击查看]
上传用户:chpname
上传日期:2018-11-08
资源大小:69k
文件大小:2k
源码类别:
对话框与窗口
开发平台:
Visual C++
- // PPTtimerDlg.h : header file
- //
- #if !defined(AFX_PPTTIMERDLG_H__38A010F7_2796_4000_B814_59F0A3B3E8F1__INCLUDED_)
- #define AFX_PPTTIMERDLG_H__38A010F7_2796_4000_B814_59F0A3B3E8F1__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- /////////////////////////////////////////////////////////////////////////////
- // CPPTtimerDlg dialog
- #define PPT_FIRST_RUN 0000
- #define PPT_NOTFLASH 0000
- #define PPT_COUNTING 0012
- #define PPT_TIME_RESTART 0012
- #define PPT_FLASH 0013
- #define PPT_TIME_STOP 0014
- class CPPTtimerDlg : public CDialog
- {
- // Construction
- public:
- CPPTtimerDlg(CWnd* pParent = NULL); // standard constructor
- // Dialog Data
- //{{AFX_DATA(CPPTtimerDlg)
- enum { IDD = IDD_PPTTIMER_DIALOG };
- CString m_PrintTime;
- //}}AFX_DATA
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CPPTtimerDlg)
- public:
- virtual BOOL PreTranslateMessage(MSG* pMsg);
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- //}}AFX_VIRTUAL
- // Implementation
- protected:
- BYTE m_FlashFlag;
- char m_CurrTime[9];
- HICON m_hIcon;
- // Generated message map functions
- //{{AFX_MSG(CPPTtimerDlg)
- virtual BOOL OnInitDialog();
- afx_msg void OnPaint();
- afx_msg HCURSOR OnQueryDragIcon();
- afx_msg void OnRButtonDown(UINT nFlags, CPoint point);
- afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
- afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
- afx_msg void OnTimer(UINT nIDEvent);
- afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
- //}}AFX_MSG
- afx_msg void OnSysMenuSet();
- afx_msg void OnSysMenuClose();
- afx_msg void OnSysMenuStop();
- afx_msg void OnSysMenuReStart();
- DECLARE_MESSAGE_MAP()
- };
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_PPTTIMERDLG_H__38A010F7_2796_4000_B814_59F0A3B3E8F1__INCLUDED_)