OWLNext 7.0
Borland's Object Windows Library for the modern age
|
Many frame window attributes can be set after the object has been constructed.
You can change and query object attributes. TFrameWindow provides an additional set of functions for modifying frame windows:
Function | Explanation |
TFrameWindow::AssignMenu() | Typically used to set up a window's menu before the interface element has been created, such as in the InitMainWindow() function or the window object's constructor or SetupWindow() function. |
TFrameWindow::SetMenu() | Sets the window's menu handle to the HMENU parameter passed in. |
TFrameWindow::SetMenuDescr() | Sets the window's menu description to the TMenuDescr parameter passed in. |
TFrameWindow::GetMenuDescr() | Returns the current menu description. |
TFrameWindow::MergeMenu() | Merges the current menu description with the TMenuDescr parameter passed in. |
TFrameWindow::RestoreMenu() | Restores the window's menu from Attr.Menu. |
TFrameWindow::SetIcon() | Sets the icon in the module passed as the first parameter to the icon passed as a resource in the second parameter. |