www.pudn.com > gps-time.rar > MainFrm.h


// MainFrm.h : interface of the CMainFrame class 
// 
///////////////////////////////////////////////////////////////////////////// 
#include "LogFile.h" 
#if !defined(AFX_MAINFRM_H__91A34869_1946_11D5_932F_5254AB322796__INCLUDED_) 
#define AFX_MAINFRM_H__91A34869_1946_11D5_932F_5254AB322796__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
//class CLogFile; 
 
#include "Dog.h"//lv 2003 5 17 add 
 
class CMainFrame : public CFrameWnd 
{ 
	 
protected: // create from serialization only 
	CMainFrame(); 
	DECLARE_DYNCREATE(CMainFrame) 
 
// Attributes 
public: 
 
// Operations 
public: 
 
// Overrides 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CMainFrame) 
	protected: 
	virtual BOOL OnCommand(WPARAM wParam, LPARAM lParam); 
	virtual LRESULT WindowProc(UINT message, WPARAM wParam, LPARAM lParam); 
	//}}AFX_VIRTUAL 
 
// Implementation 
public: 
	CDog dog;//lv 2003 5 17 add 
	UINT DogTimer;//lv 2003 5 17 add 
 
	void OnIconMinimize(); 
	void OnIconExit(); 
	void OnIconDispMainFace(); 
	void ProcessNotify(CString Str); 
	void ProcessError(DWORD dwError, DWORD dwDevType); 
	UINT m_TimerId; 
	HICON hIcon; 
	virtual ~CMainFrame(); 
private: 
	CLogFile m_LogFile; 
	bool m_msgbox; 
protected:  // control bar embedded members 
	CStatusBar  m_wndStatusBar; 
	CToolBar    m_wndToolBar; 
 
// Generated message map functions 
protected: 
	//{{AFX_MSG(CMainFrame) 
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct); 
	afx_msg void OnTimer(UINT nIDEvent); 
	afx_msg void OnDestroy(); 
	afx_msg void OnClose(); 
	afx_msg void OnAppExit(); 
	//}}AFX_MSG 
	DECLARE_MESSAGE_MAP() 
}; 
 
///////////////////////////////////////////////////////////////////////////// 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_MAINFRM_H__91A34869_1946_11D5_932F_5254AB322796__INCLUDED_)