home *** CD-ROM | disk | FTP | other *** search
Wrap
// TaskTrackerWnd.h: interface for the CTaskTrackerWnd class. // ////////////////////////////////////////////////////////////////////// #if !defined(AFX_TASKTRACKERWND_H__978AE823_C55F_47C0_9BE9_C3E350F0214D__INCLUDED_) #define AFX_TASKTRACKERWND_H__978AE823_C55F_47C0_9BE9_C3E350F0214D__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 #define WM_ADDTASK WM_USER+1 #define WM_DELETETASK WM_USER+2 #define WM_SHOWTASKS WM_USER+3 #include "MyWindow.h" #include <vector> using namespace std; class CTaskTrackerWnd : public CMyWindow { public: HWND SetSwitcherHwnd(HWND hWnd); HWND GetSwitcherHwnd(); void Add(HWND hWnd); bool InList(HWND hWnd); CTaskTrackerWnd(); virtual ~CTaskTrackerWnd(); unsigned long int Init(HWND hParent,char *pWindowName, unsigned long int dwExStyle,unsigned long int dwStyle, int x, int y,int nWidth, int nHeight, HMENU hMenu, int nCmdShow); protected: LRESULT WndProc(HWND hWnd,UINT nMessage,WPARAM wParam,LPARAM lParam); void OnTimer(); void OnDestroy(); // member variables vector <HWND> m_vWnds; HWND m_hSwitcherWnd; }; #endif // !defined(AFX_TASKTRACKERWND_H__978AE823_C55F_47C0_9BE9_C3E350F0214D__INCLUDED_)