OWLNext 7.0
Borland's Object Windows Library for the modern age
|
The following TFrameWindow constructor is used to create an entirely new frame window object:
Parameter | Explanation |
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. |
title | The window title, the string that 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 client window for the frame window by passing a pointer to the client window object.. If you do not specify anything, by default the constructor gets a zero, meaning that there is no client window. |
shrinkToClient | Lets you specify whether the frame window should shrink to fit the client window. If you do not specify anything, by default the constructor gets false, meaning that it should not fit the frame to the client window. |
module | Passed to the base class constructor as the TModule parameter for that constructor. This parameter defaults to 0. |
Here are some examples of using this constructor: