zForm Class Reference

DERIVED CLASS FOR FORMS. More...

#include <Zclass.h>

Inheritance diagram for zForm:
zWindow zMDIChildForm

List of all members.

Public Member Functions

void ClientRectangle (void)
void Cascade (unsigned int flag=MDITILE_SKIPDISABLED)
void Tile (unsigned int flag=MDITILE_HORIZONTAL)
void IconArrange (void)
void ScrollPageDown (void)
void ScrollPageUp (void)
void ScrollTop (void)
void ScrollBottom (void)
void ScrollLeft (void)
void ScrollRight (void)

Detailed Description

DERIVED CLASS FOR FORMS.

% Provides the functionality of a Windows MDI or SDI window. When an application runs under Microsoft Windows,the user interacts with documents displayed in frame windows. A document frame window has two major components: the frame and the contents that it frames. A document frame window can be a single document interface (SDI) frame window or a multiple document interface (MDI) child window. Windows manages most of the user’s interaction with the frame window: moving and resizing the window,closing it,and minimizing and maximizing it. You manage the contents inside the frame. SDI applications allow only one open document frame window at a time. MDI applications allow multiple document frame windows to be open in the same instance of an application. An MDI application has a window within which multiple MDI child windows,which are frame windows themselves,can be opened,each containing a separate document. In some applications,the child windows can be of different types,such as chart windows and spreadsheet windows. In that case,the menu bar can change as MDI child windows of different types are activated. MDI main frame windows(one per application) contain a special child window called the MDICLIENT window. The MDICLIENT window manages the client area of the main frame window,and itself has child windows. Because the document windows are frame windows themselves (MDI child windows), they can also have their own children. In all of these cases,the parent window manages its child windows and forwards some commands to them. In an MDI frame window,the frame window manages the MDICLIENT window, repositioning it in conjunction with control bars. The MDICLIENT window,in turn, manages all MDI child frame windows.


Member Function Documentation

void zForm::Cascade ( unsigned int  flag = MDITILE_SKIPDISABLED  )  [inline]

Arranges all MDI child windows in a cascade format.

Parameters:
flag - Specifies a cascade flag. The only flag currently available, MDITILE_SKIPDISABLED, prevents disabled MDI child windows from being cascaded.
void zForm::ClientRectangle ( void   )  [inline]

Retrieves the xrectangle object that represents the client area of the control. Because client coordinates are relative to the upper-left corner of the client area of the control, the coordinates of the upper-left corner of the returned rectangle are (0,0). Refer to zWindow::client_rect.

Reimplemented from zWindow.

void zForm::IconArrange ( void   )  [inline]

Arranges all minimized MDI child windows. It does not affect child windows that are not minimized.

void zForm::ScrollBottom ( void   )  [inline]

Causes a vertical scroll lower right event.

void zForm::ScrollLeft ( void   )  [inline]

Causes an horizontal scroll upper left event.

void zForm::ScrollPageDown ( void   )  [inline]

Causes a vertical scroll page down event.

void zForm::ScrollPageUp ( void   )  [inline]

Causes a vertical scroll page up event.

void zForm::ScrollRight ( void   )  [inline]

Causes an horizontal scroll lower right event.

void zForm::ScrollTop ( void   )  [inline]

Causes a vertical scroll to upper left event.

void zForm::Tile ( unsigned int  flag = MDITILE_HORIZONTAL  )  [inline]

Arranges all MDI child windows in a tile format.

Parameters:
flag - Specifies a tiling flag. This parameter can be one of the following values:

  • MDITILE_HORIZONTAL - Tiles MDI child windows so that they are wide rather than tall.
  • MDITILE_SKIPDISABLED - Prevents disabled MDI child windows from being tiled.
  • MDITILE_VERTICAL Tiles - MDI child windows so that they are tall rather than wide.

The documentation for this class was generated from the following file:

Generated on Sun Nov 29 07:22:17 2009 for Rad.on++ by  doxygen 1.6.1