My Project
D:/source/c++/Programme/sally/sally/sallyAPI/QuestionBox.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 "ImageBox.h"
00033 #include "LabelBox.h"
00034 #include "ParameterQuestionBox.h"
00035 
00036 namespace SallyAPI
00037 {
00038         namespace GUI
00039         {
00048 
00049                 class DLL_API_SALLY CQuestionBox :
00050                         public SallyAPI::GUI::CDialogBox
00051                 {
00052                 protected:
00053                         SallyAPI::GUI::CButton*         m_pButtonYes;
00054                         SallyAPI::GUI::CButton*         m_pButtonNo;
00055                         SallyAPI::GUI::CLabelBox*       m_pLableDialogText;
00056                         SallyAPI::GUI::CImageBox*       m_pImage;
00057                 public:
00058                         CQuestionBox(SallyAPI::GUI::CGUIBaseObject* parent);
00059                         virtual ~CQuestionBox();
00060 
00061                         virtual void SendMessageToParent(SallyAPI::GUI::CGUIBaseObject* reporter, int reporterId, int messageId, SallyAPI::GUI::SendMessage::CParameterBase* messageParameter = NULL);
00062                         void SetValues(SallyAPI::GUI::SendMessage::CParameterQuestionBox& questionBox);
00063                 };
00064         }
00065 }
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines