UndoTab Class Reference

Allows the user to set any options which are normally associated with a documents undo. This includes such things as:- Unlimited undo setting OR maximum memory to be allocated to the undo system. More...

#include <optsundo.h>

Inheritance diagram for UndoTab:

OptionsTabs ListItem CCObject SimpleCCObject List of all members.

Public Member Functions

 UndoTab ()
 ~UndoTab ()
virtual BOOL Init ()
 Initialiser.
virtual BOOL HandleMsg (DialogMsg *Msg)
virtual BOOL InitSection ()
virtual BOOL CommitSection ()
virtual BOOL GreySection ()
 Called when the user has closed all documents. Gives any tabbed dialog a chance to grey any fields which are document specific. This is the base class version and so will be used for any tabs which have no specified handling code.
virtual BOOL UngreySection ()
 Called when the user has opened a document. Gives any tabbed dialog a chance to update any fields which may have been greyed when the last document was closed. This is the base class version and so will be used for any tabs which have no specified handling code.
BOOL ChangeControlStatus (const BOOL Status)
virtual BOOL UpdateSection (String_256 *DocumentName)
 Called when the user has clicked on a new document or opened a new document. Gives any tabbed dialog a chance to update any fields which are used to reflect the current document's status. The document name allows the info field on the tab to be filled in correctly. This is the base class version and so will be used for any tabs which have no specified handling code.
virtual CDlgResID GetPageID ()
virtual BOOL IsDocumentOption ()
virtual BOOL IsProgramOption ()

Private Attributes

BOOL GreyStatus

Detailed Description

Allows the user to set any options which are normally associated with a documents undo. This includes such things as:- Unlimited undo setting OR maximum memory to be allocated to the undo system.

Author:
Neville_Humphrys (Xara Group Ltd) <camelotdev@xara.com>
Date:
20/1/95
See also:
OptionsTabs; AppPrefsDlg; DocPrefsDlg;

Definition at line 122 of file optsundo.h.


Constructor & Destructor Documentation

UndoTab::UndoTab  ) 
 

UndoTab::~UndoTab  ) 
 


Member Function Documentation

BOOL UndoTab::ChangeControlStatus const BOOL  Status  ) 
 

virtual BOOL UndoTab::CommitSection  )  [virtual]
 

Implements OptionsTabs.

virtual CDlgResID UndoTab::GetPageID  )  [virtual]
 

Implements OptionsTabs.

virtual BOOL UndoTab::GreySection  )  [virtual]
 

Called when the user has closed all documents. Gives any tabbed dialog a chance to grey any fields which are document specific. This is the base class version and so will be used for any tabs which have no specified handling code.

Author:
Neville_Humphrys (Xara Group Ltd) <camelotdev@xara.com>
Date:
4/1/95
Parameters:
- [INPUTS]
- [OUTPUTS]
Returns:
TRUE if successful, else FALSE

Errors: -

See also:
OptionsTabs::UngreySection(); OptionsTabs::UpdateSection();

Reimplemented from OptionsTabs.

virtual BOOL UndoTab::HandleMsg DialogMsg Msg  )  [virtual]
 

Implements OptionsTabs.

virtual BOOL UndoTab::Init void   )  [virtual]
 

Initialiser.

Author:
Neville_Humphrys (Xara Group Ltd) <camelotdev@xara.com>
Date:
07/12/94
Returns:
Errors:
See also:
AppPrefsDlg;

Reimplemented from OptionsTabs.

virtual BOOL UndoTab::InitSection  )  [virtual]
 

Implements OptionsTabs.

virtual BOOL UndoTab::IsDocumentOption  )  [virtual]
 

Implements OptionsTabs.

virtual BOOL UndoTab::IsProgramOption  )  [virtual]
 

Implements OptionsTabs.

virtual BOOL UndoTab::UngreySection  )  [virtual]
 

Called when the user has opened a document. Gives any tabbed dialog a chance to update any fields which may have been greyed when the last document was closed. This is the base class version and so will be used for any tabs which have no specified handling code.

Author:
Neville_Humphrys (Xara Group Ltd) <camelotdev@xara.com>
Date:
4/1/95
Parameters:
- [INPUTS]
- [OUTPUTS]
Returns:
TRUE if successful, else FALSE

Errors: -

See also:
OptionsTabs::GreySection(); OptionsTabs::UpdateSection();

Reimplemented from OptionsTabs.

virtual BOOL UndoTab::UpdateSection String_256 DocumentName  )  [virtual]
 

Called when the user has clicked on a new document or opened a new document. Gives any tabbed dialog a chance to update any fields which are used to reflect the current document's status. The document name allows the info field on the tab to be filled in correctly. This is the base class version and so will be used for any tabs which have no specified handling code.

Author:
Neville_Humphrys (Xara Group Ltd) <camelotdev@xara.com>
Date:
3/2/95
Parameters:
Name of document [INPUTS]
- [OUTPUTS]
Returns:
TRUE if successful, else FALSE

Errors: -

See also:
OptionsTabs::UngreySection(); OptionsTabs::GreySection();

Reimplemented from OptionsTabs.


Member Data Documentation

BOOL UndoTab::GreyStatus [private]
 

Definition at line 157 of file optsundo.h.


The documentation for this class was generated from the following file:
Generated on Sat Nov 10 04:02:38 2007 for Camelot by  doxygen 1.4.4