GXSetDaFTools
void GXSetDaFTools(CGXDrawingAndFormatting* pTools);
pTools
A pointer to to the new drawing and formatting class object.
Remarks
Call this method from your InitInstance method if you want to customize any of the drawing functions in CGXDrawingAndFormatting.
Example:
class CMyDrawingTools: public CGXDrawingAndFormatting
{
public:
CMyDrawingTools();
virtual CString GXFormatText(const CGXStyle& style, LPCTSTR pszValue = NULL, unsigned nValueType = GX_VT_STRING, CGXGridCore* pGrid = NULL, CGXControl* pControl = NULL);
};
// in your InitInstance method
GXInit();
GXSetDaFTools(new CMyDrawingTools);
whereas CMyDrawingTools must be derived from CGXDrawingAndFormatting