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

TWindowInit Class Reference

Virtual base class for TWindow. More...

#include <views.h>

Inheritance diagram for TWindowInit::

TWindow TDialog TEditWindow THelpWindow THistoryWindow TChDirDialog TColorDialog TFileDialog List of all members.

Public Methods

 TWindowInit (TFrame *(*cFrame)(TRect bounds))

Protected Attributes

TFrame* (* createFrame )(TRect bounds)

Detailed Description

TWindow inherits multiply from TGroup and the virtual base class TWindowInit.

TWindowInit provides a constructor and TWindowInit::createFrame member function used in creating and inserting a frame object. A similar technique is used for TProgram, THistoryWindow and TDeskTop.

Definition at line 3392 of file views.h.


Constructor & Destructor Documentation

TWindowInit::TWindowInit ( TFrame *(* cFrame)(TRect bounds) )
 

This constructor takes a function address argument, usually &TWindow::initFrame.

See also:
TWindow::initFrame

Note: the TWindow constructor invokes TGroup constructor and TWindowInit(&initFrame) to create a window object of size `bounds' and associated frame. The latter is inserted in the window group object.
See also:
TGroup::TGroup , TWindow::TWindow


Member Data Documentation

TFrame *(* TWindowInit::createFrame)(TRect bounds) [protected]
 

Called by the TWindowInit constructor to create a TFrame object with the given bounds 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:39 2001 for TVision by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001