<< Return to Main Index

< Return to Class Index

CGXAbstractControlFactory Class Members

Members

CreateControl CreateControl is called to instantiate a specific cell type as child of the given grid. In your override of CreateControl., you should check nID to determine which control to instantiate. This is best done with a switch statement.
InitializeApplicationComponents This method is called from Objective Grid at application initialization time (from GXInit). It instantiates concrete implementations for various features.
InitializeGridComponents This method is called from each grid at initialization time (from OnGridInitialUpdate() to be more concrete). It instantiates concrete implementations for grid features and attaches the instantiated object to the grid.
RegisterAllControls RegisterAllControls is called to register the control names with the styles map. This is necessary when you want the controls to appear in the Controls-page of the CGXStyleSheet.
RegisterAllUserAttributes RegisterAllUserAttributes is called to register the user attribute names with the styles map. This is necessary when you want the user attributes to appear in the User attribute-page of the CGXStyleSheet.
RegisterWndClasses RegisterWndClasses is called during the initialization of your application to register window class names used in Objective Grid. These window classes can then be used as registered controls in the dialog template
(see GRID_DECLARE_REGISTER and GRID_IMPLEMENT_REGISTER for further information).
UnregisterWndClasses The counterpart of RegisterWndClasses. Called during the cleanup of your application (i.e., when you call GXForceTerminate).

CGXAbstractControlFactory

Class Overview