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

FX::FXMainWindow Class Reference

#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 Methods

 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 void create ()
 Create server-side resources.

virtual ~FXMainWindow ()
 Destructor.


Detailed Description

Main application window. There may be any number of MainWindows in an application. 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 1 otherwise. After the SEL_CLOSE message has been sent and no objection was raised, the MainWindow will delete itself.