1 \section{\class{wxMDIChildFrame
}}\label{wxmdichildframe
}
3 An MDI child frame is a frame that can only exist on a
\helpref{wxMDIClientWindow
}{wxmdiclientwindow
},
4 which is itself a child of
\helpref{wxMDIParentFrame
}{wxmdiparentframe
}.
6 \wxheading{Derived from
}
8 \helpref{wxFrame
}{wxframe
}\\
9 \helpref{wxWindow
}{wxwindow
}\\
10 \helpref{wxEvtHandler
}{wxevthandler
}\\
11 \helpref{wxObject
}{wxobject
}
13 \wxheading{Include files
}
19 \helpref{wxCore
}{librarieslist
}
21 \wxheading{Window styles
}
24 \begin{twocollist
}\itemsep=
0pt
25 \twocolitem{\windowstyle{wxCAPTION
}}{Puts a caption on the frame.
}
26 \twocolitem{\windowstyle{wxDEFAULT
\_FRAME\_STYLE}}{Defined as
{\bf wxMINIMIZE
\_BOX \pipe wxMAXIMIZE
\_BOX \pipe wxTHICK
\_FRAME \pipe wxSYSTEM
\_MENU \pipe wxCAPTION
}.
}
27 \twocolitem{\windowstyle{wxICONIZE
}}{Display the frame iconized (minimized) (Windows only).
}
28 \twocolitem{\windowstyle{wxMAXIMIZE
}}{Displays the frame maximized (Windows only).
}
29 \twocolitem{\windowstyle{wxMAXIMIZE
\_BOX}}{Displays a maximize box on the frame (Windows and Motif only).
}
30 \twocolitem{\windowstyle{wxMINIMIZE
}}{Identical to
{\bf wxICONIZE
}.
}
31 \twocolitem{\windowstyle{wxMINIMIZE
\_BOX}}{Displays a minimize box on the frame (Windows and Motif only).
}
32 \twocolitem{\windowstyle{wxRESIZE
\_BORDER}}{Displays a resizeable border around the window (Motif only;
33 for Windows, it is implicit in wxTHICK
\_FRAME).
}
34 \twocolitem{\windowstyle{wxSTAY
\_ON\_TOP}}{Stay on top of other windows (Windows only).
}
35 \twocolitem{\windowstyle{wxSYSTEM
\_MENU}}{Displays a system menu (Windows and Motif only).
}
36 \twocolitem{\windowstyle{wxTHICK
\_FRAME}}{Displays a thick frame around the window (Windows and Motif only).
}
39 See also
\helpref{window styles overview
}{windowstyles
}.
43 Although internally an MDI child frame is a child of the MDI client window, in wxWidgets
44 you create it as a child of
\helpref{wxMDIParentFrame
}{wxmdiparentframe
}. You can usually
45 forget that the client window exists.
47 MDI child frames are clipped to the area of the MDI client window, and may be iconized
50 You can associate a menubar with a child frame as usual, although an MDI child doesn't display
51 its menubar under its own title bar. The MDI parent frame's menubar will be changed to
52 reflect the currently active child frame. If there are currently no children, the parent
53 frame's own menubar will be displayed.
57 \helpref{wxMDIClientWindow
}{wxmdiclientwindow
},
\helpref{wxMDIParentFrame
}{wxmdiparentframe
},
\rtfsp
58 \helpref{wxFrame
}{wxframe
}
60 \latexignore{\rtfignore{\wxheading{Members
}}}
62 \membersection{wxMDIChildFrame::wxMDIChildFrame
}\label{wxmdichildframector
}
64 \func{}{wxMDIChildFrame
}{\void}
68 \func{}{wxMDIChildFrame
}{\param{wxMDIParentFrame*
}{parent
},
\param{wxWindowID
}{id
},
\rtfsp
69 \param{const wxString\&
}{title
},
\param{const wxPoint\&
}{ pos = wxDefaultPosition
},
\rtfsp
70 \param{const wxSize\&
}{ size = wxDefaultSize
},
\param{long
}{ style = wxDEFAULT
\_FRAME\_STYLE},
\rtfsp
71 \param{const wxString\&
}{name = ``frame"
}}
73 Constructor, creating the window.
75 \wxheading{Parameters
}
77 \docparam{parent
}{The window parent. This should not be NULL.
}
79 \docparam{id
}{The window identifier. It may take a value of -
1 to indicate a default value.
}
81 \docparam{title
}{The caption to be displayed on the frame's title bar.
}
83 \docparam{pos
}{The window position. A value of (-
1, -
1) indicates a default position, chosen by
84 either the windowing system or wxWidgets, depending on platform.
}
86 \docparam{size
}{The window size. A value of (-
1, -
1) indicates a default size, chosen by
87 either the windowing system or wxWidgets, depending on platform.
}
89 \docparam{style
}{The window style. See
\helpref{wxMDIChildFrame
}{wxmdichildframe
}.
}
91 \docparam{name
}{The name of the window. This parameter is used to associate a name with the item,
92 allowing the application user to set Motif resource values for
101 \helpref{wxMDIChildFrame::Create
}{wxmdichildframecreate
}
103 \membersection{wxMDIChildFrame::
\destruct{wxMDIChildFrame
}}\label{wxmdichildframedtor
}
105 \func{}{\destruct{wxMDIChildFrame
}}{\void}
107 Destructor. Destroys all child windows and menu bar if present.
109 \membersection{wxMDIChildFrame::Activate
}\label{wxmdichildframeactivate
}
111 \func{void
}{Activate
}{\void}
113 Activates this MDI child frame.
117 \helpref{wxMDIChildFrame::Maximize
}{wxmdichildframemaximize
},
\rtfsp
118 \helpref{wxMDIChildFrame::Restore
}{wxmdichildframerestore
}
120 \membersection{wxMDIChildFrame::Create
}\label{wxmdichildframecreate
}
122 \func{bool
}{Create
}{\param{wxWindow*
}{parent
},
\param{wxWindowID
}{id
},
\rtfsp
123 \param{const wxString\&
}{title
},
\param{const wxPoint\&
}{ pos = wxDefaultPosition
},
\rtfsp
124 \param{const wxSize\&
}{ size = wxDefaultSize
},
\param{long
}{ style = wxDEFAULT
\_FRAME\_STYLE},
\rtfsp
125 \param{const wxString\&
}{name = ``frame"
}}
127 Used in two-step frame construction. See
\helpref{wxMDIChildFrame::wxMDIChildFrame
}{wxmdichildframector
}\rtfsp
130 \membersection{wxMDIChildFrame::Maximize
}\label{wxmdichildframemaximize
}
132 \func{void
}{Maximize
}{\param{bool
}{maximize
}}
134 Maximizes this MDI child frame.
138 \helpref{wxMDIChildFrame::Activate
}{wxmdichildframeactivate
},
\rtfsp
139 \helpref{wxMDIChildFrame::Restore
}{wxmdichildframerestore
}
141 \membersection{wxMDIChildFrame::Restore
}\label{wxmdichildframerestore
}
143 \func{void
}{Restore
}{\void}
145 Restores this MDI child frame (unmaximizes).
149 \helpref{wxMDIChildFrame::Activate
}{wxmdichildframeactivate
},
\rtfsp
150 \helpref{wxMDIChildFrame::Maximize
}{wxmdichildframemaximize
}
152 \section{\class{wxMDIClientWindow
}}\label{wxmdiclientwindow
}
154 An MDI client window is a child of
\helpref{wxMDIParentFrame
}{wxmdiparentframe
}, and manages zero or
155 more
\helpref{wxMDIChildFrame
}{wxmdichildframe
} objects.
157 \wxheading{Derived from
}
159 \helpref{wxWindow
}{wxwindow
}\\
160 \helpref{wxEvtHandler
}{wxevthandler
}\\
161 \helpref{wxObject
}{wxobject
}
163 \wxheading{Include files
}
169 \helpref{wxCore
}{librarieslist
}
173 The client window is the area where MDI child windows exist. It doesn't have to cover the whole
174 parent frame; other windows such as toolbars and a help window might coexist with it.
175 There can be scrollbars on a client window, which are controlled by the parent window style.
177 The
{\bf wxMDIClientWindow
} class is usually adequate without further derivation, and it is created
178 automatically when the MDI parent frame is created. If the application needs to derive a new class,
179 the function
\helpref{wxMDIParentFrame::OnCreateClient
}{wxmdiparentframeoncreateclient
} must be
180 overridden in order to give an opportunity to use a different class of client window.
182 Under Windows
95, the client window will automatically have a sunken border style when
183 the active child is not maximized, and no border style when a child is maximized.
187 \helpref{wxMDIChildFrame
}{wxmdichildframe
},
\helpref{wxMDIParentFrame
}{wxmdiparentframe
},
\rtfsp
188 \helpref{wxFrame
}{wxframe
}
190 \latexignore{\rtfignore{\wxheading{Members
}}}
192 \membersection{wxMDIClientWindow::wxMDIClientWindow
}\label{wxmdiclientwindowctor
}
194 \func{}{wxMDIClientWindow
}{\void}
198 \func{}{wxMDIClientWindow
}{\param{wxMDIParentFrame*
}{parent
},
\param{long
}{ style =
0}}
200 Constructor, creating the window.
202 \wxheading{Parameters
}
204 \docparam{parent
}{The window parent.
}
206 \docparam{style
}{The window style. Currently unused.
}
210 The second style of constructor is called within
\helpref{wxMDIParentFrame::OnCreateClient
}{wxmdiparentframeoncreateclient
}.
214 \helpref{wxMDIParentFrame::wxMDIParentFrame
}{wxmdiparentframector
},
\rtfsp
215 \helpref{wxMDIParentFrame::OnCreateClient
}{wxmdiparentframeoncreateclient
}
217 \membersection{wxMDIClientWindow::
\destruct{wxMDIClientWindow
}}\label{wxmdiclientwindowdtor
}
219 \func{}{\destruct{wxMDIClientWindow
}}{\void}
223 \membersection{wxMDIClientWindow::CreateClient
}\label{wxmdiclientwindowcreateclient
}
225 \func{bool
}{CreateClient
}{\param{wxMDIParentFrame*
}{parent
},
\param{long
}{ style =
0}}
227 Used in two-step frame construction. See
\helpref{wxMDIClientWindow::wxMDIClientWindow
}{wxmdiclientwindowctor
}\rtfsp
230 \section{\class{wxMDIParentFrame
}}\label{wxmdiparentframe
}
232 An MDI (Multiple Document Interface) parent frame is a window which can contain
233 MDI child frames in its own `desktop'. It is a convenient way to avoid window clutter,
234 and is used in many popular Windows applications, such as Microsoft Word(TM).
236 \wxheading{Derived from
}
238 \helpref{wxFrame
}{wxframe
}\\
239 \helpref{wxWindow
}{wxwindow
}\\
240 \helpref{wxEvtHandler
}{wxevthandler
}\\
241 \helpref{wxObject
}{wxobject
}
243 \wxheading{Include files
}
249 \helpref{wxCore
}{librarieslist
}
253 There may be multiple MDI parent frames in a single application, but this probably only makes sense
254 within programming development environments.
256 Child frames may be of class
\helpref{wxMDIChildFrame
}{wxmdichildframe
} (contained
257 within the parent frame) or
\helpref{wxFrame
}{wxframe
} (shown as a top-level frame).
259 An MDI parent frame always has a
\helpref{wxMDIClientWindow
}{wxmdiclientwindow
} associated with it, which
260 is the parent for MDI child frames.
261 This client window may be resized to accommodate non-MDI windows, as seen in Microsoft Visual C++ (TM) and
262 Microsoft Publisher (TM), where a documentation window is placed to one side of the workspace.
264 MDI remains popular despite dire warnings from Microsoft itself that MDI is an obsolete
265 user interface style.
267 The implementation is native in Windows, and simulated under Motif. Under Motif,
268 the child window frames will often have a different appearance from other frames
269 because the window decorations are simulated.
271 \wxheading{Window styles
}
274 \begin{twocollist
}\itemsep=
0pt
275 \twocolitem{\windowstyle{wxCAPTION
}}{Puts a caption on the frame.
}
276 \twocolitem{\windowstyle{wxDEFAULT
\_FRAME\_STYLE}}{Defined as
{\bf wxMINIMIZE
\_BOX \pipe wxMAXIMIZE
\_BOX \pipe wxTHICK
\_FRAME \pipe wxSYSTEM
\_MENU \pipe wxCAPTION
}.
}
277 \twocolitem{\windowstyle{wxHSCROLL
}}{Displays a horizontal scrollbar in the
{\it client window
}, allowing
278 the user to view child frames that are off the current view.
}
279 \twocolitem{\windowstyle{wxICONIZE
}}{Display the frame iconized (minimized) (Windows only).
}
280 \twocolitem{\windowstyle{wxMAXIMIZE
}}{Displays the frame maximized (Windows only).
}
281 \twocolitem{\windowstyle{wxMAXIMIZE
\_BOX}}{Displays a maximize box on the frame (Windows and Motif only).
}
282 \twocolitem{\windowstyle{wxMINIMIZE
}}{Identical to
{\bf wxICONIZE
}.
}
283 \twocolitem{\windowstyle{wxMINIMIZE
\_BOX}}{Displays a minimize box on the frame (Windows and Motif only).
}
284 \twocolitem{\windowstyle{wxRESIZE
\_BORDER}}{Displays a resizeable border around the window (Motif only;
285 for Windows, it is implicit in wxTHICK
\_FRAME).
}
286 \twocolitem{\windowstyle{wxSTAY
\_ON\_TOP}}{Stay on top of other windows (Windows only).
}
287 \twocolitem{\windowstyle{wxSYSTEM
\_MENU}}{Displays a system menu (Windows and Motif only).
}
288 \twocolitem{\windowstyle{wxTHICK
\_FRAME}}{Displays a thick frame around the window (Windows and Motif only).
}
289 \twocolitem{\windowstyle{wxVSCROLL
}}{Displays a vertical scrollbar in the
{\it client window
}, allowing
290 the user to view child frames that are off the current view.
}
291 \twocolitem{\windowstyle{wxFRAME
\_NO\_WINDOW\_MENU}}{Under Windows, removes the Window menu that is normally
292 added automatically.
}
295 See also
\helpref{window styles overview
}{windowstyles
}.
299 \helpref{wxMDIChildFrame
}{wxmdichildframe
},
\helpref{wxMDIClientWindow
}{wxmdiclientwindow
},
\rtfsp
300 \helpref{wxFrame
}{wxframe
},
\helpref{wxDialog
}{wxdialog
}
302 \latexignore{\rtfignore{\wxheading{Members
}}}
304 \membersection{wxMDIParentFrame::wxMDIParentFrame
}\label{wxmdiparentframector
}
306 \func{}{wxMDIParentFrame
}{\void}
310 \func{}{wxMDIParentFrame
}{\param{wxWindow*
}{parent
},
\param{wxWindowID
}{id
},
\rtfsp
311 \param{const wxString\&
}{title
},
\param{const wxPoint\&
}{ pos = wxDefaultPosition
},
\rtfsp
312 \param{const wxSize\&
}{ size = wxDefaultSize
},
\param{long
}{ style = wxDEFAULT
\_FRAME\_STYLE \pipe wxVSCROLL
\pipe wxHSCROLL
},
\rtfsp
313 \param{const wxString\&
}{name = ``frame"
}}
315 Constructor, creating the window.
317 \wxheading{Parameters
}
319 \docparam{parent
}{The window parent. This should be NULL.
}
321 \docparam{id
}{The window identifier. It may take a value of -
1 to indicate a default value.
}
323 \docparam{title
}{The caption to be displayed on the frame's title bar.
}
325 \docparam{pos
}{The window position. A value of (-
1, -
1) indicates a default position, chosen by
326 either the windowing system or wxWidgets, depending on platform.
}
328 \docparam{size
}{The window size. A value of (-
1, -
1) indicates a default size, chosen by
329 either the windowing system or wxWidgets, depending on platform.
}
331 \docparam{style
}{The window style. See
\helpref{wxMDIParentFrame
}{wxmdiparentframe
}.
}
333 \docparam{name
}{The name of the window. This parameter is used to associate a name with the item,
334 allowing the application user to set Motif resource values for
339 During the construction of the frame, the client window will be created. To use a different class
340 from
\helpref{wxMDIClientWindow
}{wxmdiclientwindow
}, override
\rtfsp
341 \helpref{wxMDIParentFrame::OnCreateClient
}{wxmdiparentframeoncreateclient
}.
343 Under Windows
95, the client window will automatically have a sunken border style when
344 the active child is not maximized, and no border style when a child is maximized.
348 \helpref{wxMDIParentFrame::Create
}{wxmdiparentframecreate
},
\rtfsp
349 \helpref{wxMDIParentFrame::OnCreateClient
}{wxmdiparentframeoncreateclient
}
351 \membersection{wxMDIParentFrame::
\destruct{wxMDIParentFrame
}}\label{wxmdiparentframedtor
}
353 \func{}{\destruct{wxMDIParentFrame
}}{\void}
355 Destructor. Destroys all child windows and menu bar if present.
357 \membersection{wxMDIParentFrame::ActivateNext
}\label{wxmdiparentframeactivatenext
}
359 \func{void
}{ActivateNext
}{\void}
361 Activates the MDI child following the currently active one.
365 \helpref{wxMDIParentFrame::ActivatePrevious
}{wxmdiparentframeactivateprevious
}
367 \membersection{wxMDIParentFrame::ActivatePrevious
}\label{wxmdiparentframeactivateprevious
}
369 \func{void
}{ActivatePrevious
}{\void}
371 Activates the MDI child preceding the currently active one.
375 \helpref{wxMDIParentFrame::ActivateNext
}{wxmdiparentframeactivatenext
}
378 \membersection{wxMDIParentFrame::ArrangeIcons
}\label{wxmdiparentframearrangeicons
}
380 \func{void
}{ArrangeIcons
}{\void}
382 Arranges any iconized (minimized) MDI child windows.
386 \helpref{wxMDIParentFrame::Cascade
}{wxmdiparentframecascade
},
\rtfsp
387 \helpref{wxMDIParentFrame::Tile
}{wxmdiparentframetile
}
389 \membersection{wxMDIParentFrame::Cascade
}\label{wxmdiparentframecascade
}
391 \func{void
}{Cascade
}{\void}
393 Arranges the MDI child windows in a cascade.
397 \helpref{wxMDIParentFrame::Tile
}{wxmdiparentframetile
},
\rtfsp
398 \helpref{wxMDIParentFrame::ArrangeIcons
}{wxmdiparentframearrangeicons
}
400 \membersection{wxMDIParentFrame::Create
}\label{wxmdiparentframecreate
}
402 \func{bool
}{Create
}{\param{wxWindow*
}{parent
},
\param{wxWindowID
}{id
},
\rtfsp
403 \param{const wxString\&
}{title
},
\param{const wxPoint\&
}{ pos = wxDefaultPosition
},
\rtfsp
404 \param{const wxSize\&
}{ size = wxDefaultSize
},
\param{long
}{ style = wxDEFAULT
\_FRAME\_STYLE \pipe wxVSCROLL
\pipe wxHSCROLL
},
\rtfsp
405 \param{const wxString\&
}{name = ``frame"
}}
407 Used in two-step frame construction. See
\helpref{wxMDIParentFrame::wxMDIParentFrame
}{wxmdiparentframector
}\rtfsp
410 \membersection{wxMDIParentFrame::GetClientSize
}\label{wxmdiparentframegetclientsize
}
412 \constfunc{virtual void
}{GetClientSize
}{\param{int*
}{width
},
\param{int*
}{height
}}
414 This gets the size of the frame `client area' in pixels.
416 \wxheading{Parameters
}
418 \docparam{width
}{Receives the client width in pixels.
}
420 \docparam{height
}{Receives the client height in pixels.
}
424 The client area is the area which may be drawn on by the programmer, excluding title bar, border, status bar,
425 and toolbar if present.
427 If you wish to manage your own toolbar (or perhaps you have more than one),
428 provide an
{\bf OnSize
} event handler. Call
{\bf GetClientSize
} to
429 find how much space there is for your windows and don't forget to set the size and position
430 of the MDI client window as well as your toolbar and other windows (but not the status bar).
432 If you have set a toolbar with
\helpref{wxMDIParentFrame::SetToolbar
}{wxmdiparentframesettoolbar
},
433 the client size returned will have subtracted the toolbar height. However, the available positions
434 for the client window and other windows of the frame do not start at zero - you must add the toolbar height.
436 The position and size of the status bar and toolbar (if known to the frame) are always managed
437 by
{\bf wxMDIParentFrame
}, regardless of what behaviour is defined in your
{\bf OnSize
} event handler.
438 However, the client window position and size are always set in
{\bf OnSize
}, so if you override this
439 event handler, make sure you deal with the client window.
441 You do not have to manage the size and position of MDI child windows, since they are managed
442 automatically by the client window.
446 \helpref{wxMDIParentFrame::GetToolBar
}{wxmdiparentframegettoolbar
},
\rtfsp
447 \helpref{wxMDIParentFrame::SetToolBar
}{wxmdiparentframesettoolbar
},
\rtfsp
448 \helpref{wxMDIClientWindow
}{wxmdiclientwindow
}
451 \pythonnote{The wxPython version of this method takes no arguments and
452 returns a tuple containing width and height.
}
454 \membersection{wxMDIParentFrame::GetActiveChild
}\label{wxmdiparentframegetactivechild
}
456 \constfunc{wxMDIChildFrame*
}{GetActiveChild
}{\void}
458 Returns a pointer to the active MDI child, if there is one.
460 \membersection{wxMDIParentFrame::GetClientWindow
}\label{wxmdiparentframegetclientwindow
}
462 \constfunc{wxMDIClientWindow*
}{GetClientWindow
}{\void}
464 Returns a pointer to the client window.
468 \helpref{wxMDIParentFrame::OnCreateClient
}{wxmdiparentframeoncreateclient
}
470 \membersection{wxMDIParentFrame::GetToolBar
}\label{wxmdiparentframegettoolbar
}
472 \constfunc{virtual wxWindow*
}{GetToolBar
}{\void}
474 Returns the window being used as the toolbar for this frame.
478 \helpref{wxMDIParentFrame::SetToolBar
}{wxmdiparentframesettoolbar
}
480 \membersection{wxMDIParentFrame::GetWindowMenu
}\label{wxmdiparentframegetwindowmenu
}
482 \constfunc{wxMenu*
}{GetWindowMenu
}{\void}
484 Returns the current Window menu (added by wxWidgets to the menubar). This function
485 is available under Windows only.
487 \membersection{wxMDIParentFrame::OnCreateClient
}\label{wxmdiparentframeoncreateclient
}
489 \func{virtual wxMDIClientWindow*
}{OnCreateClient
}{\void}
491 Override this to return a different kind of client window. If you override this function,
492 you must create your parent frame in two stages, or your function will never be called,
493 due to the way C++ treats virtual functions called from constructors. For example:
496 frame = new MyParentFrame;
497 frame->Create(parent, myParentFrameId, wxT("My Parent Frame"));
502 You might wish to derive from
\helpref{wxMDIClientWindow
}{wxmdiclientwindow
} in order
503 to implement different erase behaviour, for example, such as painting a bitmap
506 Note that it is probably impossible to have a client window that scrolls as well as painting
507 a bitmap or pattern, since in
{\bf OnScroll
}, the scrollbar positions always return zero.
508 (Solutions to:
{\tt julian.smart@btopenworld.com
}).
512 \helpref{wxMDIParentFrame::GetClientWindow
}{wxmdiparentframegetclientwindow
},
\rtfsp
513 \helpref{wxMDIClientWindow
}{wxmdiclientwindow
}
515 \membersection{wxMDIParentFrame::SetToolBar
}\label{wxmdiparentframesettoolbar
}
517 \func{virtual void
}{SetToolBar
}{\param{wxWindow*
}{ toolbar
}}
519 Sets the window to be used as a toolbar for this
520 MDI parent window. It saves the application having to manage the positioning
521 of the toolbar MDI client window.
523 \wxheading{Parameters
}
525 \docparam{toolbar
}{Toolbar to manage.
}
529 When the frame is resized, the toolbar is resized to be the width of
530 the frame client area, and the toolbar height is kept the same.
532 The parent of the toolbar must be this frame.
534 If you wish to manage your own toolbar (or perhaps you have more than one),
535 don't call this function, and instead manage your subwindows and the MDI client window by
536 providing an
{\bf OnSize
} event handler. Call
\helpref{wxMDIParentFrame::GetClientSize
}{wxmdiparentframegetclientsize
} to
537 find how much space there is for your windows.
539 Note that SDI (normal) frames and MDI child windows must always have their
540 toolbars managed by the application.
544 \helpref{wxMDIParentFrame::GetToolBar
}{wxmdiparentframegettoolbar
},
\rtfsp
545 \helpref{wxMDIParentFrame::GetClientSize
}{wxmdiparentframegetclientsize
}
547 \membersection{wxMDIParentFrame::SetWindowMenu
}\label{wxmdiparentframesetwindowmenu
}
549 \func{void
}{SetWindowMenu
}{\param{wxMenu*
}{ menu
}}
551 Call this to change the current Window menu. Ownership of the menu object passes to
552 the frame when you call this function.
554 This call is available under Windows only.
556 To remove the window completely, use the wxFRAME
\_NO\_WINDOW\_MENU window style.
558 \membersection{wxMDIParentFrame::Tile
}\label{wxmdiparentframetile
}
560 \func{void
}{Tile
}{\param{wxOrientation
}{ orient = wxHORIZONTAL
}}
562 Tiles the MDI child windows either horizontally or vertically depending on
563 whether
\arg{orient
} is wxHORIZONTAL or wxVERTICAL.
565 Currently only implemented for MSW, does nothing under the other platforms.
569 \helpref{wxMDIParentFrame::Cascade
}{wxmdiparentframecascade
},
\rtfsp
570 \helpref{wxMDIParentFrame::ArrangeIcons
}{wxmdiparentframearrangeicons
}