SkyGI::InputBox Class Reference

Inheritance diagram for SkyGI::InputBox:
[legend]
Collaboration diagram for SkyGI::InputBox:
[legend]
List of all members.

Public Member Functions

 InputBox (const String &szTitle, const String &szText, const String &szInput, unsigned int uiFlags,...)
 InputBox (const String &szTitle, const String &szText, const String &szInput, Image *pImage, unsigned int uiFlags,...)
virtual void OnCommand (const MessageCommand *pMessage)
TextViewGetTextView ()
String GetString ()
InputBoxViewGetView ()
virtual void SetFocus (int iCommandID)

Detailed Description

InputBox

Description:
Similar to a MessageBox but with a single line textview to enter text.


Constructor & Destructor Documentation

InputBox::InputBox ( const String szTitle,
const String szText,
const String szInput,
unsigned int  uiFlags,
  ... 
)

InputBox::InputBox ( const String szTitle,
const String szText,
const String szInput,
Image pImage,
unsigned int  uiFlags,
  ... 
)


Member Function Documentation

void InputBox::OnCommand ( const MessageCommand pMessage  )  [virtual]

Called when a command occured

Description:
Gets called whenever a window for which this window is the target post a command. For instance, when you press a Button the virtual Button::OnClicked method gets called. If not overloaded this OnClicked function will post a MSG_COMMAND to buttons window target. This message will then be processed by the target window which calls this OnCommand method.

Reimplemented from SkyGI::Window.

TextView * InputBox::GetTextView (  ) 

String InputBox::GetString (  ) 

InputBoxView * InputBox::GetView (  ) 

Get the associated View

Description:
Get the View associated with the FrameWindow. A View was either set with AttachView or implicity created by the FrameWindows constructor
Returns:
The View associated with the FrameWindow or NULL if no View is present

Reimplemented from SkyGI::FrameWindow.

void InputBox::SetFocus ( int  iCommandID  )  [virtual]


Generated on Thu Dec 13 18:14:28 2007 for SkyGI by  doxygen 1.5.1-p1