mainfrm.h

来自「可以显示动画图盘的程序」· C头文件 代码 · 共 33 行

H
33
字号
#include "ntray.h"


class CMainFrame : public CFrameWnd
{
public:
	CMainFrame();
	virtual ~CMainFrame();

protected:
	//{{AFX_VIRTUAL(CMainFrame)
	//}}AFX_VIRTUAL

	DECLARE_DYNCREATE(CMainFrame)

	//{{AFX_MSG(CMainFrame)
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg void OnHappy();
	afx_msg void OnUpdateHappy(CCmdUI* pCmdUI);
	afx_msg void OnSad();
	afx_msg void OnUpdateSad(CCmdUI* pCmdUI);
	afx_msg void OnAnimated();
	afx_msg void OnUpdateAnimated(CCmdUI* pCmdUI);
	//}}AFX_MSG
  afx_msg LRESULT OnTrayNotification(WPARAM wParam, LPARAM lParam);
	DECLARE_MESSAGE_MAP()

  CTrayNotifyIcon m_TrayIcon;
  HICON m_hIcons[2];
  BOOL m_bHappy;
};

⌨️ 快捷键说明

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