mainfrm.h

来自「LibraryManageDM.rar 数据库设计图书馆管理系统」· C头文件 代码 · 共 91 行

H
91
字号
// MainFrm.h : CMainFrame 类的接口
//
#include "SystemTray.h"

#pragma once
#define ID_INDICATOR_USER               0xE707
#define ID_INDICATOR_DATE               0xE708

#define WM_ICON_NOTIFY			        WM_APP  + 10
class CMainFrame : public CFrameWnd
{
	
protected: // 仅从序列化创建
	CMainFrame();
	DECLARE_DYNCREATE(CMainFrame)

// 属性
public:
	BOOL m_bShow;
	CBitmap bitmap;	
	CSystemTray  m_SysTray;        //!< 实现最小化到系统托盘
// 操作
public:

// 重写
public:
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);

// 实现
public:
	virtual ~CMainFrame();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:  // 控件条嵌入成员
	CStatusBar  m_wndStatusBar;
	CToolBar    m_wndToolBar;

// 生成的消息映射函数
protected:
	//{{AFX_MSG(CMainFrame)
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg void OnClose();
	afx_msg void OnUpdateUser(CCmdUI* pCmdUI);
	afx_msg void OnUpdateTime(CCmdUI* pCmdUI);
	afx_msg void OnSysmanUser();
	afx_msg void OnUpdateSysmanUser(CCmdUI *pCmdUI);
	afx_msg void OnSysmanReload();
	afx_msg void OnBasmanBook();
	afx_msg void OnBasmanReader();
	afx_msg void OnBasmanPunish();
	afx_msg void OnBookmanNew();
	afx_msg void OnUpdateBookmanNew(CCmdUI *pCmdUI);
	afx_msg void OnBookmanLost();
	afx_msg void OnUpdateBookmanLost(CCmdUI *pCmdUI);
	afx_msg void OnBookmanQuery();
	afx_msg void OnReadermanNew();
	afx_msg void OnUpdateReadermanNew(CCmdUI *pCmdUI);
	afx_msg void OnReadermanLost();
	afx_msg void OnUpdateReadermanLost(CCmdUI *pCmdUI);
	afx_msg void OnReadermanQuery();
	afx_msg void OnBormanBorrow();
	afx_msg void OnUpdateBormanBorrow(CCmdUI *pCmdUI);
	afx_msg void OnBormanRenew();
	afx_msg void OnUpdateBormanRenew(CCmdUI *pCmdUI);
	afx_msg void OnBormanReturn();
	afx_msg void OnUpdateBormanReturn(CCmdUI *pCmdUI);
	afx_msg void OnBormanPay();
	afx_msg void OnUpdateBormanPay(CCmdUI *pCmdUI);
	afx_msg void OnBormanQuery();
	afx_msg void OnDbmanInitialize();
	afx_msg void OnUpdateDbmanInitialize(CCmdUI* pCmdUI);
	afx_msg void OnDbmanBackup();
	afx_msg void OnUpdateDbmanBackup(CCmdUI *pCmdUI);
	afx_msg void OnDbmanReload();
	afx_msg void OnUpdateDbmanReload(CCmdUI *pCmdUI);
	afx_msg void OnHelpContent();
	afx_msg void OnWndMax();
	afx_msg void OnWndMin();
	afx_msg void OnBookmanMod();
	afx_msg void OnUpdateBookmanMod(CCmdUI* pCmdUI);
	afx_msg void OnReadermanMod();
	afx_msg void OnUpdateReadermanMod(CCmdUI* pCmdUI);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};


⌨️ 快捷键说明

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