#include <dialogs.h>
Inheritance diagram for THistInit::
Public Methods | |
THistInit (TListViewer *(*cListViewer)(TRect r, TWindow *w, ushort histID)) | |
Protected Attributes | |
TListViewer* (* | createListViewer )(TRect r, TWindow *w, ushort histId) |
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.
|
This constructor takes a function address argument `cListViewer', usually &THistoryWindow::initViewer.
|
|
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. |