⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mainfrm.h

📁 使用vc进行数据库编程的好例子
💻 H
字号:
// MainFrm.h : interface of the CMainFrame class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_MAINFRM_H__D2974982_717C_4110_B5A3_17C607C4631C__INCLUDED_)
#define AFX_MAINFRM_H__D2974982_717C_4110_B5A3_17C607C4631C__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "CoolTabCtrl.h"
#include "AdmiUserDlg.h"
#include "CangeKeyDlg.h"
#include "Logon.h"

#define WM_SHOW_PRO_RESULT_SIMP		WM_USER+1
#define WM_SHOW_MEM_RESULT_SIMP		WM_USER+3
#define WM_UPDETASELDATA			WM_USER+9
#define	WM_LOGON					WM_USER+12
/////////////////////////////////
class CMainFrame : public CFrameWnd
{
	
protected: // create from serialization only
	CMainFrame();
	DECLARE_DYNCREATE(CMainFrame)

// Attributes
public:
	CLogon		m_LogonDlg;
	CCoolTabCtrl m_TabNavigation;
	CCoolTabCtrl m_TabSearch;
	CCoolBar	m_Navigation;
	CCoolBar	m_Search;
	CAdmiUserDlg m_UserDlg;
	CCangeKeyDlg m_ChangKeyDlg;
// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CMainFrame)
	public:
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	virtual BOOL DestroyWindow();
	//}}AFX_VIRTUAL

// Implementation
public:
	bool FillSearchBar();
	bool FillTheNavigation();
	virtual ~CMainFrame();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:  // control bar embedded members
	CStatusBar  m_wndStatusBar;
	CToolBar    m_wndToolBar;
	CReBar      m_wndReBar;
	CDialogBar      m_wndDlgBar;

// Generated message map functions
protected:
	//{{AFX_MSG(CMainFrame)
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg void OnShowNavigaition();
	afx_msg void OnShowSeacher();
	afx_msg void OnAdministrtorUseradmi();
	afx_msg void OnChangkey();
	afx_msg void OnFileZhuxiao();
	//}}AFX_MSG
	afx_msg void ShowPResultSimple(WPARAM wParam ,LPARAM lParam);
	afx_msg void ShowMResultSimple(WPARAM wParam ,LPARAM lParam);
	afx_msg void UpdateSelData(WPARAM wParam ,LPARAM lParam);
	afx_msg void Logon(WPARAM wParam ,LPARAM lParam);
	DECLARE_MESSAGE_MAP()
};

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

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

#endif // !defined(AFX_MAINFRM_H__D2974982_717C_4110_B5A3_17C607C4631C__INCLUDED_)

⌨️ 快捷键说明

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