Alphabetical Class Index   File Members   Compound Members   File List  

CTDriver.h

00001 
00002 #ifndef __AFXWIN_H__
00003     #error include 'stdafx.h' before including this file for PCH
00004 #endif
00005 #include "HTManager.h"
00006 #include "HMFCGlobals.h"
00007 
00013 class HMFC_API CTDriver : public CWnd
00014 {
00015 // Construction
00016 public:
00018     CTDriver( int milliseconds = 10 );  
00019     virtual ~CTDriver();
00020 
00021     void StartTimer();  
00022     void KillTimer();   
00023 
00024     virtual BOOL DestroyWindow();           
00025    
00026 
00027 protected:
00028     UINT    m_nTimer;        
00029     int     m_milliseconds;  
00030 
00031     int Init();  
00032 
00033     BOOL PreCreateWindow(CREATESTRUCT& cs); 
00034 #if (_MSC_VER < 1400)
00035     afx_msg void OnTimer(UINT nIDEvent);    
00036 #else
00037     afx_msg void OnTimer(UINT_PTR nIDEvent);    
00038 #endif
00039     DECLARE_MESSAGE_MAP()
00040 
00041 };