📄 gridmethods.h
字号:
//----------------------------------------------------------------------------
//
// Module Name: GridMethods.h
// Module Description: Header file for wrapper methods for ActiveX
// GridControl - use these for creating/modifying a
// grid using both Visual C++ and MFC 4.2. The
// gridctrl.h file generated through ClassWizard for
// the ActiveX GridControl is required for this wrapper.
//
// Usage Notes/Restrictions:
// Copyright 1999 Cimaron, All rights reserved
//
// Date Author Comment
// ---- ------ ------
// 10-12-99 P. de Sa' Initial Revision
//
//----------------------------------------------------------------------------
#ifndef CGRIDMETHODS_H
#define CGRIDMETHODS_H
// References Calcutta/Ganges software version of CGridCtrl - this should be the
// EXACT SAME for ALL projects that use the CGridCtrl class
//#include "..\danube\tp4805\working\gridctrl.h"
#include "gridctrl.h"
//#include "..\common\cmnhdr.h"
// Forward lookahead - doesn't work... P.L.d. 6/27/2000
//class CGridCtrl;
class CGridMethods
{
public:
CGridMethods(void); // Constructor
virtual ~CGridMethods(); // Destructor
bool bInitializeGrid(CGridCtrl *grid, const short iRows, const short iCols,
const short iFixedRows, const short iFixedCols);
bool bSetColumnHeadingString(CGridCtrl *grid, const short sColNumber, const CString szHeading);
bool bSetRowHeadingString(CGridCtrl *grid, const short sRowNumber, const CString szHeading);
bool bSetGridValueString(CGridCtrl *grid, const short sRowNumber, const short sColNumber,
const CString szData);
bool bSetGridValueInteger(CGridCtrl *grid, const short sRowNumber, const short sColNumber,
const int iData, const bool bHexMode);
protected:
// your ad here
private:
// your ad here
};
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -