mainfrm.h

来自「完整的汽配查询软件」· C头文件 代码 · 共 89 行

H
89
字号
// MainFrm.h : interface of the CMainFrame class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_MAINFRM_H__338A00CD_F52B_11D7_BF38_00E04C3C84B2__INCLUDED_)
#define AFX_MAINFRM_H__338A00CD_F52B_11D7_BF38_00E04C3C84B2__INCLUDED_

#include "GFXOUTBARCTRL.H"	// Added by ClassView
#include "GFXSPLITTERWND.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:
	CGfxSplitterWnd	wndSplitter;
	CGfxOutBarCtrl	wndBar;

	CImageList		imaLarge, imaSmall;

	CTreeCtrl		wndTree;

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CMainFrame)
	public:
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	protected:
	virtual BOOL OnCreateClient(LPCREATESTRUCT lpcs, CCreateContext* pContext);
	//}}AFX_VIRTUAL

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

protected:  // control bar embedded members
	CStatusBar  m_wndStatusBar;

// Generated message map functions
protected:
	BOOL m_bSuccess;
	_RecordsetPtr m_pRecordsetAPP;
	_RecordsetPtr m_pRecordsetSORT;
	_RecordsetPtr m_pRecordsetOE;
	_variant_t vAppid,vAppname;//appid list
	_variant_t vOeinfo;//oeinfo list
	long vOeid,vOeimage,vSoftimage;
	_variant_t vSortid,vSortname;//prodsort list
	_variant_t vInfoid,vOeno,vProdname,vOename,vTpno,vSize,vQty,vKgs,vPicname;//prodinfo list
	//{{AFX_MSG(CMainFrame)
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg void OnGfxLargeicon();
	afx_msg void OnUpdateGfxLargeicon(CCmdUI* pCmdUI);
	afx_msg void OnGfxSmallicon();
	afx_msg void OnUpdateGfxSmallicon(CCmdUI* pCmdUI);
	afx_msg void OnClose();
	afx_msg void OnCoIntroduction();
	afx_msg void OnCoHomepage();
	afx_msg void OnSearchPage();
	afx_msg void OnAdminPage();
	afx_msg void OnDataBak();
	//}}AFX_MSG
	afx_msg long OnOutbarNotify(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__338A00CD_F52B_11D7_BF38_00E04C3C84B2__INCLUDED_)

⌨️ 快捷键说明

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