OWLNext    7.0
Borland's Object Windows Library for the modern age
Loading...
Searching...
No Matches
Constructing Decorated Frame Window Objects

TDecoratedFrame has only one constructor,

TDecoratedFrame(TWindow* parent,
const char far* title,
TWindow* clientWnd,
bool trackMenuSelection = false,
TModule* module = 0);
ParameterExplanation
parent The window's parent window object. Use zero if the window you're creating is the main window (which does not have a parent window object). Otherwise use a pointer to the parent window object. This is the only parameter that you must provide.
titleThe window title, which appears in the caption bar of the window. If you do not specify anything, no title is displayed in the title bar. clientWnd Lets you specify a pointer to a client window for the frame window. If you do not specify anything, by default the constructor gets a zero, meaning that there is no client window.
trackMenuSelectionLets you specify whether menu commands should be tracked. When tracking is on, the window tries to pass a string to the window's status bar. The string passed has the same resource name as the currently selected menu choice. You should not turn on menu selection tracking unless you have a status bar in your window. If you do not specify anything, by default the constructor gets false, meaning that it should not track menu commands.
modulePassed to the base class constructor as the TModule parameter for that constructor. This parameter defaults to 0.