fvpagegrid.h

来自「枚举主机网络设备」· C头文件 代码 · 共 82 行

H
82
字号
#if !defined(AFX_FVQQBAROP1_H__F42950F6_0247_4079_9F4D_519B31209560__INCLUDED_)
#define AFX_FVQQBAROP1_H__F42950F6_0247_4079_9F4D_519B31209560__INCLUDED_

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

#include "FVPage.h"
#include "ADOGridCtrl.h"
/////////////////////////////////////////////////////////////////////////////
// CFVPageGrid form view

#ifndef __AFXEXT_H__
#include <afxext.h>
#endif

class AFX_EXT_CLASS CFVPageGrid : public CFVPage
{
protected:
	DECLARE_DYNCREATE(CFVPageGrid)

// Form Data
public:
	CFVPageGrid(CString strPageLable="",CString strFileName="",CString strFileContent="",CString strQQIconFolder="");           // protected constructor used by dynamic creation
	virtual ~CFVPageGrid();
	//{{AFX_DATA(CFVPageGrid)
	enum { IDD = IDD_HCONTROL_FV_PAGE_GRID };
		// NOTE: the ClassWizard will add data members here
	//}}AFX_DATA

// Attributes
public:
    CADOGridCtrl	*m_pGridCtrl;

// Operations
public:
	virtual void		CreateBar();

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CFVPageGrid)
	public:
	virtual void InitBar();
	virtual BOOL Create(LPCTSTR lpszClassName, LPCTSTR lpszWindowName, DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID, CCreateContext* pContext = NULL);
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
	virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
	virtual void OnPrint(CDC* pDC, CPrintInfo* pInfo);
	virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
	//}}AFX_VIRTUAL

// Implementation
protected:
	void SetControlPos();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

	// Generated message map functions
	//{{AFX_MSG(CFVPageGrid)
	afx_msg void OnSize(UINT nType, int cx, int cy);
	afx_msg long OnRBnDownOnGridItem(UINT wParm,LONG lParm);
	afx_msg long OnRBnUpOnGridItem(UINT wParm,LONG lParm);
	afx_msg long OnLBnDownOnGridItem(UINT wParm,LONG lParm);
	afx_msg long OnLBnUpOnGridItem(UINT wParm,LONG lParm);
	afx_msg long OnLBnDblclkOnGridItem(UINT wParm,LONG lParm);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
private:
};

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

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

#endif // !defined(AFX_FVQQBAROP1_H__F42950F6_0247_4079_9F4D_519B31209560__INCLUDED_)

⌨️ 快捷键说明

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