Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

THistInit Class Reference

Virtual base class for THistoryWindow. More...

#include <dialogs.h>

Inheritance diagram for THistInit::

THistoryWindow List of all members.

Public Methods

 THistInit (TListViewer *(*cListViewer)(TRect r, TWindow *w, ushort histID))

Protected Attributes

TListViewer* (* createListViewer )(TRect r, TWindow *w, ushort histId)

Detailed Description

THistoryWindow inherits multiply from TWindow and the virtual base class THistInit.

THistInit provides a constructor and THistoryWindow::createListViewer member function used in creating and inserting a list viewer into a history window. A similar technique is used for TProgram, TWindow and TDeskTop.

Definition at line 2282 of file dialogs.h.


Constructor & Destructor Documentation

THistInit::THistInit ( TListViewer *(* cListViewer)(TRect r, TWindow *w,ushort histID) )
 

This constructor takes a function address argument `cListViewer', usually &THistoryWindow::initViewer.

See also:
THistoryWindow::initViewer

This creates and inserts a list viewer into the given history window with the given size `bounds' and history list `histID'.


Member Data Documentation

TListViewer *(* THistInit::createListViewer)(TRect r, TWindow *w, ushort histId) [protected]
 

Called by the THistInit constructor to create a list viewer for the window `w' with size `r' and history list given by `histId' and return a pointer to it. A 0 pointer indicates lack of success in this endeavor.


The documentation for this class was generated from the following file:
Generated at Sat Sep 22 20:19:26 2001 for TVision by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001