www.pudn.com > FileGuard.zip > MainFrm.h


// MainFrm.h : interface of the CMainFrame class 
// 
///////////////////////////////////////////////////////////////////////////// 
 
#if !defined(AFX_MAINFRM_H__3DC691D6_9998_11D5_A1DA_00E006F27970__INCLUDED_) 
#define AFX_MAINFRM_H__3DC691D6_9998_11D5_A1DA_00E006F27970__INCLUDED_ 
 
#include "IniFile.h"	// Added by ClassView 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
 
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) 
	public: 
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs); 
	virtual void WinHelp(DWORD dwData, UINT nCmd = HELP_CONTEXT); 
	protected: 
	virtual LRESULT WindowProc(UINT message, WPARAM wParam, LPARAM lParam); 
	//}}AFX_VIRTUAL 
 
// Implementation 
public: 
	BOOL OnLoadDevice(); 
	void ShowMainWnd(BOOL bShow); 
	void OnPauseProtection(); 
	BOOL OnStopProtection(); 
	virtual ~CMainFrame(); 
	afx_msg void OnFlushProtFileInfo(); 
	void TaskBarDelIcon(); 
	void TaskBarAddIcon(); 
#ifdef _DEBUG 
	virtual void AssertValid() const; 
	virtual void Dump(CDumpContext& dc) const; 
#endif 
 
protected:  // control bar embedded members 
	CStatusBar  m_wndStatusBar; 
	CToolBar    m_wndToolBar; 
 
// Generated message map functions 
protected: 
	void ChgCtrlState(CMenu *pMenu=NULL); 
 
	//{{AFX_MSG(CMainFrame) 
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct); 
	afx_msg void OnWindowPosChanging(WPARAM wParam, WINDOWPOS* lpwndpos ); 
	afx_msg LRESULT OnActivateProtection(); 
	afx_msg void OnClose(); 
	afx_msg void OnDeviceFatalError(); 
	afx_msg void OnDeviceError(WORD severity, DWORD err); 
	afx_msg void OnDeviceDebug(); 
	afx_msg void OnActivate(UINT nState, CWnd* pWndOther, BOOL bMinimized); 
	afx_msg void OnMActivate(); 
	afx_msg void OnInitMenuPopup(CMenu* pPopupMenu, UINT nIndex, BOOL bSysMenu); 
	afx_msg void OnOption(); 
	afx_msg void OnTaskBarNotify(UINT id, UINT msg); 
	afx_msg void OnSize(UINT nType, int cx, int cy); 
	afx_msg void OnShowWnd(); 
	afx_msg void OnIniFileSave(); 
	afx_msg void OnNewProtFile(); 
	afx_msg void OnAppExit(); 
	afx_msg void OnLogout(); 
	afx_msg void OnChangePwd(); 
	afx_msg LRESULT OnQueryUserLogin(); 
	afx_msg LRESULT OnQueryProtection(); 
	afx_msg LRESULT OnSetDeviceBusy(BOOL bBusy); 
	afx_msg BOOL OnQueryEndSession(); 
	//}}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__3DC691D6_9998_11D5_A1DA_00E006F27970__INCLUDED_)