Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members

FX::FXMDIChild Class Reference

#include <FXMDIChild.h>

Inheritance diagram for FX::FXMDIChild:

FX::FXComposite FX::FXWindow FX::FXDrawable FX::FXId FX::FXObject List of all members.

Public Methods

virtual long onDefault (FXObject *, FXSelector, void *)
 Called for unhandled messages.

 FXMDIChild (FXMDIClient *p, const FXString &name, FXIcon *ic=NULL, FXMenuPane *mn=NULL, FXuint opts=0, FXint x=0, FXint y=0, FXint w=0, FXint h=0)
 Construct MDI Child window with given name and icon.

virtual void create ()
 Create window.

virtual void detach ()
 Detach window.

virtual FXint getDefaultWidth ()
 Compute default size.

virtual FXint getDefaultHeight ()
 Return default height.

virtual FXbool canFocus () const
 MDI Child can receive focus.

virtual void move (FXint x, FXint y)
 Move this window to the specified position in the parent's coordinates.

virtual void resize (FXint w, FXint h)
 Resize this window to the specified width and height.

virtual void position (FXint x, FXint y, FXint w, FXint h)
 Move and resize this window in the parent's coordinates.

void setNormalX (FXint x)
 Change normal (restored) position.

void setNormalY (FXint y)
void setNormalWidth (FXint w)
void setNormalHeight (FXint h)
FXint getNormalX () const
 Return normal (restored) position.

FXint getNormalY () const
FXint getNormalWidth () const
FXint getNormalHeight () const
void setIconX (FXint x)
 Change iconified position.

void setIconY (FXint y)
void setIconWidth (FXint w)
void setIconHeight (FXint h)
FXint getIconX () const
 Return iconified position.

FXint getIconY () const
FXint getIconWidth () const
FXint getIconHeight () const
FXWindowcontentWindow () const
 Return content window.

void setTitle (const FXString &name)
 Change MDI Child's title.

FXString getTitle () const
 Get current title.

FXColor getHiliteColor () const
 Get colors.

FXColor getShadowColor () const
FXColor getBaseColor () const
FXColor getBorderColor () const
FXColor getTitleColor () const
FXColor getTitleBackColor () const
void setHiliteColor (FXColor clr)
 Change colors.

void setShadowColor (FXColor clr)
void setBaseColor (FXColor clr)
void setBorderColor (FXColor clr)
void setTitleColor (FXColor clr)
void setTitleBackColor (FXColor clr)
virtual FXbool maximize (FXbool notify=FALSE)
 Maximize MDI window, return TRUE if maximized.

virtual FXbool minimize (FXbool notify=FALSE)
 Minimize/iconify MDI window, return TRUE if minimized.

virtual FXbool restore (FXbool notify=FALSE)
 Restore MDI window to normal, return TRUE if restored.

virtual FXbool close (FXbool notify=FALSE)
 Close MDI window, return TRUE if actually closed.

FXbool isMaximized () const
 Return TRUE if maximized.

FXbool isMinimized () const
 Return TRUE if minimized.

FXIcongetWindowIcon () const
 Get window icon.

void setWindowIcon (FXIcon *icon)
 Set window icon.

FXPopupgetWindowMenu () const
 Get window menu.

void setWindowMenu (FXPopup *menu)
 Set window menu.

void setFont (FXFont *fnt)
 Set title font.

FXFontgetFont () const
 Get title font.

virtual void save (FXStream &store) const
 Save to stream.

virtual void load (FXStream &store)
 Load from stream.

virtual ~FXMDIChild ()
 Destroy.


Detailed Description

The MDI child window contains the application work area in a Multiple Document Interface application.

See also: