My Project
|
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 "FileBrowser.h" 00032 #include "LabelBox.h" 00033 #include "Button.h" 00034 #include "ParameterOpenDialog.h" 00035 #include "ParameterString.h" 00036 00037 namespace SallyAPI 00038 { 00039 namespace GUI 00040 { 00049 00050 class DLL_API_SALLY COpenDialog : 00051 public SallyAPI::GUI::CDialogBox 00052 { 00053 protected: 00054 int m_iActionCommand; 00055 SallyAPI::GUI::CButton* m_pButtonCancel; 00056 SallyAPI::GUI::CLabelBox* m_pLableDialogText; 00057 00058 SallyAPI::GUI::CFileBrowser* m_pFileBrowser; 00059 00060 void OnCommandCompleteFolder(); 00061 void OnCommandOk(SallyAPI::GUI::SendMessage::CParameterBase* messageParameter); 00062 public: 00063 COpenDialog(SallyAPI::GUI::CGUIBaseObject* parent); 00064 virtual ~COpenDialog(); 00065 00066 virtual void SendMessageToParent(SallyAPI::GUI::CGUIBaseObject* reporter, int reporterId, int messageId, 00067 SallyAPI::GUI::SendMessage::CParameterBase* messageParameter = NULL); 00068 void SetValues(SallyAPI::GUI::SendMessage::CParameterOpenDialog& openDialog); 00069 }; 00070 } 00071 }