mainframe.h

来自「本程序提供了一种编写定时提醒功能的例子。」· C头文件 代码 · 共 56 行

H
56
字号
#if !defined(AFX_MAINFRAME_H__62B18824_4D3E_11D4_B3D6_0050BAB0CF1D__INCLUDED_)
#define AFX_MAINFRAME_H__62B18824_4D3E_11D4_B3D6_0050BAB0CF1D__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// MainFrame.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CMainFrame frame

class CMainFrame : public CFrameWnd
{
	DECLARE_DYNCREATE(CMainFrame)
protected:

	// Attributes
public:
	CMainFrame();   		// protected constructor used by dynamic creation
	virtual ~CMainFrame();

protected:
	BOOL CLOSE_SPY;
	// Operations
public:
	void OnClosespy();
	void TrayAdd();

	// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CMainFrame)
	public:
	virtual BOOL DestroyWindow();
	protected:
	virtual LRESULT WindowProc(UINT message, WPARAM wParam, LPARAM lParam);
	//}}AFX_VIRTUAL

	// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CMainFrame)
	afx_msg void OnTimer(UINT nIDEvent);
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_MAINFRAME_H__62B18824_4D3E_11D4_B3D6_0050BAB0CF1D__INCLUDED_)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?