Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

MsgBox Class Reference

equivalent de l'API "MessageBox" de Windows More...

#include <msgBox.h>

Inheritance diagram for MsgBox:

Window ResizingAndRotateControl Control List of all members.

Public Member Functions

 MsgBox ()
 ~MsgBox ()
virtual void Create ()
int OnClose ()
int OnButtonOk ()
 bouton Ok de la zone client clicker


Public Attributes

Button btnOk
Button btnCancel
TextBox txtInfo
TextBox txtHelp
TextBox txtTranche
BOOL useCancel

Detailed Description

equivalent de l'API "MessageBox" de Windows

Composé d'une zone de text et de boutton "Ok" et "Cancel"

Definition at line 33 of file msgBox.h.


Constructor & Destructor Documentation

MsgBox::MsgBox  ) 
 

Definition at line 33 of file msgBox.cpp.

References btnCancel, Title::btnClose, btnOk, EventButton::click, TextBox::isReadOnly, Control::name, Button::onButton, OnButtonOk(), OnClose(), txtHelp, txtInfo, txtTranche, useCancel, Title::useMax, and Title::useMin.

MsgBox::~MsgBox  ) 
 

Definition at line 60 of file msgBox.cpp.


Member Function Documentation

void MsgBox::Create  )  [virtual]
 

Reimplemented from Window.

Definition at line 64 of file msgBox.cpp.

References btnCancel, btnOk, ce, TextBox::Create(), Button::Create(), Window::Create(), MyTreeNode< T >::elem, FACE_BACK, FACE_FRONT, FACE_LEFT, Control::faceNode, FaceNode, Primitive::GoTo(), Primitive::GoToParent(), BasicText3D::material, ControlEngine::Pop(), ControlEngine::primitive, ControlEngine::Push(), BasicText3D::scale, Material::SetDS(), Control::Size(), TextBox::text, txtHelp, txtInfo, txtTranche, useCancel, Control::XDockCenter(), Control::YDockCenter(), and Control::YDockTop().

Referenced by Tutorial::BaseDemo::BaseDemo(), and Univers::ExitQuestion().

int MsgBox::OnButtonOk  ) 
 

bouton Ok de la zone client clicker

Todo:
evenement a gerer pour differention Ok de Cancel (valeur de retour ?

Definition at line 119 of file msgBox.cpp.

References Debug0Param, and OnClose().

Referenced by MsgBox().

int MsgBox::OnClose  ) 
 

Reimplemented from Window.

Definition at line 127 of file msgBox.cpp.

References Debug0Param, Control::Delete(), and Window::OnClose().

Referenced by MsgBox(), and OnButtonOk().


Member Data Documentation

Button MsgBox::btnCancel
 

Definition at line 38 of file msgBox.h.

Referenced by Create(), Univers::ExitQuestion(), and MsgBox().

Button MsgBox::btnOk
 

Definition at line 37 of file msgBox.h.

Referenced by Create(), Univers::ExitQuestion(), and MsgBox().

TextBox MsgBox::txtHelp
 

Definition at line 40 of file msgBox.h.

Referenced by Create(), and MsgBox().

TextBox MsgBox::txtInfo
 

Definition at line 39 of file msgBox.h.

Referenced by Tutorial::BaseDemo::BaseDemo(), Create(), Univers::ExitQuestion(), and MsgBox().

TextBox MsgBox::txtTranche
 

Definition at line 41 of file msgBox.h.

Referenced by Tutorial::BaseDemo::BaseDemo(), Create(), and MsgBox().

BOOL MsgBox::useCancel
 

Definition at line 43 of file msgBox.h.

Referenced by Create(), and MsgBox().


The documentation for this class was generated from the following files:
Generated on Fri Aug 20 19:21:24 2004 for 3d Controls by doxygen 1.3.6