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

FXMDIChild Class Reference

#include <FXMDIChild.h>

Inheritance diagram for FXMDIChild:

FXComposite FXWindow FXDrawable FXId 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.

FXMDIChild * getMDINext () const
 Get next MDI Child.

FXMDIChild * getMDIPrev () const
 Get previous MDI Child.

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.

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)
FXbool isMaximized () const
 Return TRUE if maximized.

FXbool isMinimized () const
 Return TRUE if minimized.

virtual void maximize (FXbool notify=FALSE)
 Maximize MDI Child.

virtual void minimize (FXbool notify=FALSE)
 Minimize/iconify MDI Child.

virtual void restore (FXbool notify=FALSE)
 Restore MDI Child to normal.

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.


Public Attributes

FXString getTitle () const
 Get current title.


Detailed Description

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