combogridctrl.h

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

H
33
字号
// ComboGridCtrl.h: interface for the CComboGridCtrl class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_COMBOGRIDCTRL_H__EC89C9C0_01A5_11D2_AB4A_5C7377000000__INCLUDED_)
#define AFX_COMBOGRIDCTRL_H__EC89C9C0_01A5_11D2_AB4A_5C7377000000__INCLUDED_

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

#include <afxdb.h>
#include "GridCtrl.h"

class AFX_EXT_CLASS CComboGridCtrl : public CGridCtrl  
{
public:
	long FillWithRecordset(CRecordset* pRecordset,CString *saFieldAlias=NULL,int* naFieldWidth=NULL);
	CComboGridCtrl();
	virtual ~CComboGridCtrl();

protected:
	CStringArray m_saFieldsRealName;
    virtual void CreateInPlaceEditControl(CRect& rect, DWORD dwStyle, UINT nID,
                                          int nRow, int nCol, LPCTSTR szText, int nChar);

    //{{AFX_MSG(CComboGridCtrl)
    //}}AFX_MSG
    DECLARE_MESSAGE_MAP()
};

#endif // !defined(AFX_COMBOGRIDCTRL_H__EC89C9C0_01A5_11D2_AB4A_5C7377000000__INCLUDED_)

⌨️ 快捷键说明

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