IFrameWindow


IFrameWindow graphic

Palette category
Composers icon Composers
Palette part choice
IFrameWindow icon IFrameWindow
Short description
IBM window with title bar and extensions
Part type
Visual
Header file
iframe.hpp
Parent class
IWindow

Use an IFrameWindow* part as a standard system window for user interaction. An IFrameWindow* is the default base part for a new visual part.

You can create a frame window in any of the following roles, depending on its parent and owner:

primary window
The base window for your program. The window is typically opened from the desktop or some extension of the desktop. It can be placed anywhere on the desktop. The desktop is the parent and owner of a primary window.

secondary window
An independent window that is opened from the primary window or from another secondary window. It can be placed anywhere on the desktop, regardless of the location of the primary window. The desktop is the parent of a primary window. Typically, the window that opens a secondary window is its owner.

child window
A dependent window that is opened from the primary window or from another secondary window. It appears only within the window that opened it. The window that opens a child window is its parent and owner.

An IFrameWindow* part provides standard frame controls and a client area for program controls. The default frame controls include a system menu, a title bar, sizing buttons, and a border. You can use an ITitle* part to define a title that is compliant with Common User Access (CUA) guidelines. To add an ITitle* part to an IFrameWindow* part, drop it on the frame window title bar.

You can add frame extensions to provide a menu bar, tool bars, scroll bars, and a status area. VisualAge provides the following frame extension parts:

The portion of the frame window not occupied by frame controls and frame extensions is called the client area. Your program uses the client area for most interaction with the user. The client area is occupied and managed by a client control. The default client control is an IMultiCellCanvas* part, but you might want to substitute one of the following parts:

To replace the client control, first delete the current client control. Then, drop the new client control part in the client area.


Related procedures
Working with IFrameWindow Parts

Related references
Property Settings -- IFrameWindow
Portability -- IFrameWindow
IVBContainerControl
Factory
IVBMain
IMenu
IMultiCellCanvas
IMultiLineEdit
INotebook
IScrollBar
ITitle
IToolBar
IViewPort
VisualAge User Interface Parts
Class documentation for IFrameWindow