A class representing a top level window "frame" for Multiple Document Interface child windows.
![]() | PMDIFrameWindow ( unsigned CanDo=CanClose|CanGrow|CanIconify|CanZoom ) Construct a new MDI style top level window. |
![]() | GetActiveDocument () Get the MDI document window that is the frontmost or "target" MDI child window. |
![]() | CascadeDocuments () Reposition and resize all child documents in a cascading fashion. |
![]() | TileDocuments ( BOOL vertically = FALSE ) Reposition and resize all child documents in a tiled fashion. |
![]() | ArrangeIcons () Reposition all child documents that are currently iconic. |
![]() | SetDocumentArea ( const PRect & rect, CoordinateSystem coords ) Set the area in the frames client area that child document windows are limited to. |
![]() | GetDocumentArea ( CoordinateSystem coords ) const Get the area in the frames client area that child document windows are limited to. |
![]() | GetWindowMenu () Get the standard "Window" sub-menu which contains a list of all the active child windows as well as the standard Cascade, Tile and Arrange Icons menu items. |
![]() | New functions for class |
![]() | documentArea Area within the MDI frame that MDI child windows may exist. |
A class representing a top level window "frame" for Multiple Document Interface child windows. This is the "main" window that the application creates when an MDI is required. On some platforms, eg MS-Windows variants, this encloses the MDI child windows. On
These bounds are used if areas of the frame are not to be obscured by
the document child windows, eg when tool bars are used. The tiling and
cascading, as well as maximising the child, are limited to this area. If this rectangle is empty then the document area is the entire frame
window.
These bounds are used if areas of the frame are not to be obscured by
the document child windows, eg when tool bars are used. The tiling and
cascading, as well as maximising the child, are limited to this area. If this rectangle is empty then the document area is the entire frame
window.
New functions for class
PMDIDocWindow* GetActiveDocument()
virtual void CascadeDocuments()
virtual void TileDocuments( BOOL vertically = FALSE )
virtual void ArrangeIcons()
void SetDocumentArea( const PRect & rect, CoordinateSystem coords )
coords - Coordinate system to use.PRect GetDocumentArea( CoordinateSystem coords ) const
PSubMenu& GetWindowMenu()
PRect documentArea
Alphabetic index HTML hierarchy of classes or Java