<< Return to Main Index

< Return to Class Index

CGXFrameAdapter Class Members

Construction

CGXFrameAdapter Constructs a CGXFrameAdapter object. Normally this object is not created directly.

Initialization

InitNewHandler Creates a new set of default tabs.
InitFromFileHandler Creates a set of tabs from persistent data

Overrideables

HandleOnCreateClient OnCreateClient helper that will be called from the derived frame window to handle OnCreateClient. Creates the tabs.
OnChangeInsertInfo Override this if you want to change the default information used for making an insert into the tab.
OnChangeInitTabCreateInfo Override this if you want to conditionally change the initialization defaults.
GetTabCreateInfo Called to allocate CGXTabCreateInfo structures to pass on to CreateTabs. The default implementation simply uses defaults.
CanFreeTabCreateInfo Use this override to free any CGXTabCreateInfo objects that were allocated to be passed in to CreateTabs.

Operations

InsertWorkSheetHandler Handles an insert into the worksheet
DeleteWorkSheetHandler Handles a delete.
SetDocRuntimeClass The runtime class of the default CGXDocument derived class.
SetViewRuntimeClass The runtime class of the default CView derived class.
SetNumberOfTabs Sets the number of tabs. Do not call this after the tabs have been created.
GetNumberOfTabs Returns the current number of tabs.
GetApplicationAdapter Returns a pointer to the CGXAppAdapter class that is in context.
GetTabManager Return the CGXTabWndMgr that manages the tabs in this frame.
GetInsertInfo Called to get tab insertion information. You can override OnChangeInsertInfo normally for making any changes instead of working with this function.
SetWindow The window handle for the derived frame. Be sure to set this if you use this class with a frame class that has not been designed to work with this class.

CGXFrameAdapter

Class Overview