[Classes] [Prev] [Next] [Methods]

NNotebook

Methods Index

Heritage
Description
Usage
Public Methods
Constructor, Destructor, and Initializer Methods
Event Handling
Tab and Page Methods
Navigation Methods


NNotebook


Heritage

Superclass: CNativeView

Subclasses: None


Description

NNotebook is the shell that contains the CFaceWindow the user interface. NNotebook directs the navigation of its enclosure, and navigation to and from the CFaceWindow. NNotebook also handles the Tab to Tab and Tab hot key navigation.

Usage

NNotebook *aNotebook = new NNotebook(theParentWindow, theCRectSize);

CFaceWindow* aFace = new CFaceWindow(theDocument, aNotebook);

aNotebook->AddTab (theTabNum, theTitle);

aNotebook->AddPage (theTabNum, thePageNum, theTitle);

aNotebook->SetFace (aFace, theTabNum, thePageNum);


Public Methods

Constructor, Destructor, and Initializer Methods

NNotebook (CSubview *theEnclosure, const CRect& theRegion)
NNotebook (const NNotebook& theNotebook)
~NNotebook ()
BOOLEAN INotebook ()

Event Handling

virtual void DoHit (CONTROL_INFO theCtlInfo)

Tab and Page Methods

virtual AddPage (short theTab, short thePage, const CStringRW& theTitle)
virtual AddTab (short theTab, const CStringRW& theTitle, CImage theTabImage)
virtual const CStringRW GetTitle (void) const;
virtual CFaceWindow* GetFace (short theTab, short thePage)
virtual CFaceWindow* GetFacePage (CFaceWindow* theFace, short* theTab, short* thePage)
virtual CFaceWindow* GetFrontPage (short* theTab, short* thePage)
virtual CStringRW GetPageTitle (short theTab, short thePage) const
virtual CStringRW GetTabTitle (short theTab) const
virtual CImage GetTabImage (short theTab)
virtual short GetNumPages (short theTab)
virtual short GetNumTabs ()
virtual void RemovePage (short theTab, short thePage)
virtual void RemoveTab (short theTab)
virtual void SetFace (CFaceWindow* theFace, short theTab, short thePage, long theId)
virtual void SetPageTitle (short theTab, short thePage, CStringRW theTitle)
virtual void SetFrontPage (short theTab, short thePage)
virtual void SetTabTitle (short theTab, CStringRW theTitle)
virtual void SetTabImage (short theTab, CImage theImage)

Navigation Methods

virtual void SetTabHotKey (short theTab, short thePage, const CKey& theKey)
virtual CNavigator* GetNavigator ()


[Classes] [Prev] [Next] [Methods]

support@xvt.com


Visit our online help desk for tech support

Copyright © 2009, Providence Software Solutions Inc. All rights reserved.