My Project
D:/source/c++/Programme/sally/sally/sallyAPI/InputBox.h
Go to the documentation of this file.
00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 
00010 
00011 
00012 
00013 
00014 
00015 
00016 
00017 
00018 
00019 
00020 
00021 
00022 
00023 
00024 
00025 
00026 
00027 
00028 #pragma once
00029 #include "Define.h"
00030 #include "DialogBox.h"
00031 #include "Button.h"
00032 #include "Edit.h"
00033 #include "LabelBox.h"
00034 #include "ParameterString.h"
00035 #include "ParameterInputBox.h"
00036 
00037 namespace SallyAPI
00038 {
00039         namespace GUI
00040         {
00049 
00050                 class DLL_API_SALLY CInputBox :
00051                         public SallyAPI::GUI::CDialogBox
00052                 {
00053                 protected:
00054                         SallyAPI::GUI::CButton*         m_pButtonOk;
00055                         SallyAPI::GUI::CButton*         m_pButtonCancel;
00056                         SallyAPI::GUI::CEdit*           m_pInput;
00057                         SallyAPI::GUI::CLabelBox*       m_pLableDialogText;
00058 
00059                         void OnCommandButtonOk();
00060                 public:
00061                         CInputBox(SallyAPI::GUI::CGUIBaseObject* parent);
00062                         virtual ~CInputBox();
00063 
00064                         virtual void SendMessageToParent(SallyAPI::GUI::CGUIBaseObject* reporter, int reporterId, int messageId, SallyAPI::GUI::SendMessage::CParameterBase* messageParameter = NULL);
00065                         void SetValues(SallyAPI::GUI::SendMessage::CParameterInputBox& inputBox);
00066                 };
00067         }
00068 }
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines