back to gui 

wxMDIParentFrame

generated from ../src/mod_gui/control/mdi.cpp

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).

Constants

Constructor

wxMDIParentFrame

wxMDIParentFrame()
 
wxMDIParentFrame(Parent, 
                 Id, 
                 Title, 
                 Pos = wxDefaultPosition, 
                 Size = wxDefaultSize, 
                 Style = wxDEFAULT_FRAME_STYLE | wxVSCROLL | wxHSCROLL)
 
Name Type Default Description
Parent wxWindow The parent window
Id Integer The window ID
Title String The title of the window
Pos wxPoint wxDefaultPosition
Size wxSize wxDefaultSize
Style Integer wxDEFAULT_FRAME_STYLE | wxVSCROLL | wxHSCROLL

Creates a new MDI parent frame.

Properties

Name Type Description
activeChild read only wxMDIChildFrame The active MDI child, if there is one.

Methods

activeNext

activeNext()
 

Activates the MDI child following the currently active one.

activePrevious

activePrevious()
 

Activates the MDI child preceding the currently active one.

arrangeIcons

arrangeIcons()
 

Arranges any iconized (minimized) MDI child windows.

cascade

cascade()
 

Arranges the MDI child windows in a cascade.

cascade

cascade(Orientation = wxOrientation.HORIZONTAL)
 
Name Type Default Description
Orientation wxOrientation wxOrientation.HORIZONTAL

Tiles the MDI child windows either horizontally or vertically. Currently only implemented for MSW, does nothing under the other platforms.

create

create(Parent, 
       Id, 
       Title, 
       Pos = wxDefaultPosition, 
       Size = wxDefaultSize, 
       Style = wxDEFAULT_FRAME_STYLE | wxVSCROLL | wxHSCROLL) : Boolean
 
Name Type Default Description
Parent wxWindow The parent window
Id Integer The window ID
Title String The title of the window
Pos wxPoint wxDefaultPosition
Size wxSize wxDefaultSize
Style Integer wxDEFAULT_FRAME_STYLE | wxVSCROLL | wxHSCROLL

Sets a pixel to a particular color.



SourceForge.net Logo Support This Project

Table of Contents

Prototype

wxFrame

Constructor

wxMDIParentFrame

Properties

activeChild

Methods

activeNext
activePrevious
arrangeIcons
cascade
cascade
create


Design downloaded from Zeroweb.org: Free website templates, layouts, and tools.