Public Member Functions

ITabDialogObject Class Reference

This reference page is linked to from the following overview topics: Tabbed Dialogs.


Search for all occurrences

#include <ITabDialog.h>

Inheritance diagram for ITabDialogObject:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual void  Activate (ITabbedDialog *dialog)
  Notify the object that the dialog is activated in a tabbed dialog.
virtual void  Deactivate (ITabbedDialog *dialog)
  Notify the object that the dialog is deactivated in a tabbed dialog.
virtual void  AddTabToDialog (ITabbedDialog *dialog, ITabDialogPluginTab *tab)
  Add your tab(s) to the dialog.
virtual int  AcceptTab (ITabDialogPluginTab *tab)
  Return true if the tabs added by the ITabDialogPluginTab tab are acceptable for this dialog.

Member Function Documentation

virtual void Activate ( ITabbedDialog dialog ) [inline, virtual]

Notify the object that the dialog is activated in a tabbed dialog.

{ }
virtual void Deactivate ( ITabbedDialog dialog ) [inline, virtual]

Notify the object that the dialog is deactivated in a tabbed dialog.

{ }
virtual void AddTabToDialog ( ITabbedDialog dialog,
ITabDialogPluginTab tab 
) [inline, virtual]

Add your tab(s) to the dialog.

This will only be called if both this object and the dialog agree that the tab should be added.

Parameters:
dialog - the address of the dialog.
tab - The tab to add
{ }
virtual int AcceptTab ( ITabDialogPluginTab tab ) [inline, virtual]

Return true if the tabs added by the ITabDialogPluginTab tab are acceptable for this dialog.

Parameters:
tab - the tab being filtered.
Returns:
The acceptable action to take for this tab
     { return TAB_DIALOG_ADD_TAB; }

ITabDialogObject ITabDialogObject ITabDialogObject ITabDialogObject ITabDialogObject ITabDialogObject ITabDialogObject ITabDialogObject ITabDialogObject ITabDialogObject
ITabDialogObject ITabDialogObject ITabDialogObject ITabDialogObject ITabDialogObject ITabDialogObject ITabDialogObject ITabDialogObject ITabDialogObject ITabDialogObject