<< Return to Main Index

< Return to Class Index

CGXAbstractControlFactory::InitializeApplicationComponents

virtual void InitializeApplicationComponents();

Remarks

This method is called from Objective Grid at application initialization time (from GXInit). It instantiates concrete implementations for various features.

Here is how your override of InitializeApplicationComponents might look:

void CGXControlFactory::InitializeApplicationComponents()

{

// General application wide components - other components

// rely on some of these application wide components.

CGXPrintDevice::ImplementPrintDevice();

// Store printer settings in document

CGXStyle::ImplementCompareSubset();

// CGXStyle and CGXFont's IsSubSet method

CGXStyle::ImplementSerialize();

// CGXStyle, CGXFont, CGXBrush and CGXPen's Serialize

// method

CGXStyle::ImplementSerializeOG5Compatible();

// OG 5 Backward compatibility for deserializing

// CGXStyle class

CGXStyle::ImplementProfile();

// CGXStyle - read and write profile

CGXGridParam::ImplementSerialize();

// Serialize parameter and related subobjects

CGXGridParam::ImplementCopyOperator();

// Copy parameter object with all its subobjects

CGXDrawingAndFormatting::ImplementDrawRotatedText();

// Draw rotated text in cells

CGXDrawingAndFormatting::ImplementNumberFormatting();

// Number formatting with GXStyle::SetFormat

GXImplementOleDateTime();

// Date & Time parsing with COleDateTime routines

// using COleDateTime routines

CGXData::ImplementSortMoveData();

// Rearrange rows and columns in CGXData (when sorting the grid)

CGXData::ImplementCopyMoveCells();

// Direct copying and moving cells within grid in CGXData

CGXLongOperation::ImplementLongOperation();

// Wait cursor, ESC key and status messages

CGXCoveredCellPool::ImplementCoveredCellPool();

// Covered cells pool data structure

CGXSpanCellPool::ImplementSpanCellPool();

// Float&Merge cells pool data structure

CGXDelayedRangePool::ImplementDelayedRangePool();

// Lazy Evaluation data structure for float&merge cells

}

CGXAbstractControlFactory

Class Overview | Class Members