CGXView Class Members
Printer Settings
GetPrintDevice | Returns a pointer to the print-device object (if any). |
SetPrintDevice | Attaches a print-device object to the view. If the view already owns a pointer to a print-device object, the old one is replaced and if necessary deleted. |
OnModifiedPrintDevice | Called when the printer settings have been changed. You should override this method in your view class and call CDocument::SetModifiedFlag. |
Worksheet Interface
SetTabName | Changes the tab-name, adjusts the tab-size and triggers a WM_GX_CHANGEDTAB event. |
GetTabName | Determines the tab-name from the tab-beam. |
GetParentTabViewID | Determines a unique zero-based id for the view in the workbook. |
Messages
OnChangedTab | WM_GX_CHANGEDTAB is triggered when a tab-name has changed. |
OnNeedChangeTab | WM_GX_CHANGEDTAB is triggered when the user has double-clicked on the associated tab in the tab-beam. You should handle this message if you want to enable or disable changing the sheet-name. |