123456789101112131415161718192021222324252627282930313233343536 |
-
- #pragma once
- /////////////////////////////////////////////////////////////////////////////
- // CCalendarBar 窗口
- class CCalendarBar : public CWnd
- {
- // 构造
- public:
- CCalendarBar();
- // 特性
- protected:
- CMonthCalCtrl m_wndCalendar;
- int m_nMyCalendarsY;
- CImageList m_Images;
- // 重写
- public:
- virtual BOOL Create(const RECT& rect, CWnd* pParentWnd, UINT nID = (UINT)-1);
- virtual BOOL PreTranslateMessage(MSG *pMsg);
- // 实现
- public:
- virtual ~CCalendarBar();
- protected:
- afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
- afx_msg BOOL OnEraseBkgnd(CDC* pDC);
- afx_msg void OnSize(UINT nType, int cx, int cy);
- afx_msg void OnPaint();
- afx_msg void OnSetFocus(CWnd *pOldWnd);
- DECLARE_MESSAGE_MAP()
- };
|