#pragma once #include "common.h" class T2PoolView : public CFrameWnd { DECLARE_DYNCREATE(T2PoolView) DECLARE_MESSAGE_MAP() public: T2PoolView(); virtual ~T2PoolView(); void SetPool(T2Pool *inPool); protected: afx_msg BOOL OnEraseBkgnd(CDC *pDC); afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar *pScrollBar); afx_msg void OnLButtonDown(UINT nFlags, CPoint point); void Draw(CDC *pDC, CPoint *inPt, T2PeopleTimeZoneList **outTimeZoneList, T2PeopleTypeArray **outPeopleTypeArray, int *outUnknown); T2Pool *mPool; };