#include <mgui/topshell.h>
Inheritance diagram for MGUI::TOPSHELL:

Public Types | |
| enum | STYLE { STYLE_Default = 0x0000, STYLE_NoClose = 0x0001, STYLE_NoMinimize = 0x0002, STYLE_NoMaximize = 0x0004, STYLE_NoResize = 0x0008 } |
Public Member Functions | |
| void | Create (const char *PlacementKey=0, TEXTID TitleID=TEXTID__None, STYLE style=TOPSHELL::STYLE_Default) |
| void | EnableDocking (DOCKEDGE dockedges=DOCKEDGE_Any) |
| void | SetVisible (bool visible=true) |
| TOPSHELL (HELPID helpid) | |
| virtual | ~TOPSHELL () |
Private Member Functions | |
| virtual int | v_CreateContent ()=0 |
| virtual void | v_OnClose () |
| virtual void | v_OnCloseRequest ()=0 |
| virtual void | v_OnOpen () |
Top-level shells are windows whose parent is the 'desktop'.
Definition at line 50 of file topshell.h.
|
|
Definition at line 53 of file topshell.h. |
|
|
Constructor.
|
|
|
Destructor.
|
|
||||||||||||||||
|
Create the actual shell graphical object.
|
|
|
Enable edges of shell for control bar docking. If not specified and control bars are created for the shell then all edges are assumed to be enabled for docking.
|
|
|
Set whether shell is visible or not.
|
|
|
Create shell contents. Derived class MUST implement this. Function must return TRUE to show shell immediately, FALSE to not show the shell, or an error code < 0. This will be called by the shell creation code and thus must not be called directly. This is normally overridden only by the specific shell implementation and not by the code that actually uses that shell implementation. The implementation should call GetMainPane() to determine the pane to create the controls in. Implements MGUI::SHELL. |
|
|
Called when shell gets hidden or closed.
|
|
|
Called when user requests that shell be 'closed'. Usually results from an OS or Window Manager notification. To honor request and close the shell, override and call Destroy(). Implements MGUI::SHELL. |
|
|
Called after shell is actually displayed.
|
1.3.8-20040913