Table of Contents

wxMDIParentFrame

include file: wxMDI.e


An MDI (Multiple Document Interface) parent frame is a window which can contain MDI child frames in its own 'desktop'. It is a convenient way to avoid window clutter, and is used in many popular Windows applications, such as Microsoft Word(TM).

There may be multiple MDI parent frames in a single application, but this probably only makes sense within programming development environments.

Child frames may be of class wxMDIChildFrame (contained within the parent frame) or wxFrame (shown as a top-level frame).

An MDI parent frame always has a wxMDIClientWindow associated with it, which is the parent for MDI client frames. This client window may be resized to accommodate non-MDI windows, as seen in Microsoft Visual C++ (TM) and Microsoft Publisher (TM), where a documentation window is placed to one side of the workspace.

MDI remains popular despite dire warnings from Microsoft itself that MDI is an obsolete user interface style.

The implementation is native in Windows, and simulated under Motif. Under Motif, the child window frames will often have a different appearance from other frames because the window decorations are simulated.

Creation parameters:

  • proc arrange_mdi_icons( atom parent )   
  • proc cascade_mdi( atom parent )   
  • proc tile_mdi( atom parent )   Simplistic Routines to manage memory  
     
    Parent Topics:
  • Classes
  • Controls
  • wxFrame  
     
    Subtopics:
  • wxMDIChildFrame
  • wxMDIClientWindow


    Table of Contents

    [proc]
    arrange_mdi_icons
    ( atom parent )

    Category: wxMDIParentFrame

    Arranges any iconized (minimized) MDI child windows

    See Also: cascade_mdi, tile_mdi



    Table of Contents

    [proc]
    cascade_mdi
    ( atom parent )

    Category: wxMDIParentFrame

    Arranges the MDI child windows in a cascade.

    See Also: arrange_mdi_icons, tile_mdi



    Table of Contents

    [proc]
    tile_mdi
    ( atom parent )

    Simplistic Routines to manage memory

    Category: wxMDIParentFrame

    Arranges the MDI child windows in a tile pattern.

    See Also: arrange_mdi_icons, cascade_mdi