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

FX::FXMainWindow Class Reference

The Main Window is usually the central window of an application. More...

#include <FXMainWindow.h>

Inheritance diagram for FX::FXMainWindow:

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

Public Member Functions

 FXMainWindow (FXApp *a, const FXString &name, FXIcon *ic=NULL, FXIcon *mi=NULL, FXuint opts=DECOR_ALL, FXint x=0, FXint y=0, FXint w=0, FXint h=0, FXint pl=0, FXint pr=0, FXint pt=0, FXint pb=0, FXint hs=0, FXint vs=0)
virtual void create ()
virtual ~FXMainWindow ()

Detailed Description

The Main Window is usually the central window of an application.

Applications may have any number of main windows. When a MainWindow is closed, it sends a SEL_CLOSE message to its target; the target should return 0 if there is no objection against proceeding with the close, and return 1 otherwise. After the SEL_CLOSE message has been sent and no objection was raised, the main window will delete itself.


Constructor & Destructor Documentation

FX::FXMainWindow::FXMainWindow FXApp a,
const FXString name,
FXIcon ic = NULL,
FXIcon mi = NULL,
FXuint  opts = DECOR_ALL,
FXint  x = 0,
FXint  y = 0,
FXint  w = 0,
FXint  h = 0,
FXint  pl = 0,
FXint  pr = 0,
FXint  pt = 0,
FXint  pb = 0,
FXint  hs = 0,
FXint  vs = 0
 

Construct a main window.

virtual FX::FXMainWindow::~FXMainWindow  )  [virtual]
 

Destructor.


Member Function Documentation

virtual void FX::FXMainWindow::create  )  [virtual]
 

Create server-side resources.

Reimplemented from FX::FXTopWindow.

Copyright © 1997-2005 Jeroen van der Zijp