12345678910111213141516171819202122232425262728293031323334 |
- #pragma once
- #include "DigitalClock.h"
- // CDlg_ToolBar 对话框
- class CDlg_ToolBar : public CDialog
- {
- DECLARE_DYNAMIC(CDlg_ToolBar)
- public:
- CDlg_ToolBar(CWnd* pParent = NULL); // 标准构造函数
- virtual ~CDlg_ToolBar();
- // 对话框数据
- enum { IDD = IDD_DLG_TOOLBAR };
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持
- DECLARE_MESSAGE_MAP()
- public:
- CRect _rtClient;
- virtual BOOL OnInitDialog();
- void SetPos( int iWidth,int iHeight );
- BOOL DisplayBMP( int nX1,int nY1,int nXX,int nYY,CString strBMPFile,BOOL bStretch );
- afx_msg void OnPaint();
- afx_msg void OnMouseMove(UINT nFlags, CPoint point);
- afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
- afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
- CDigitalClock m_clock;
- afx_msg void OnTimer(UINT nIDEvent);
- };
|