All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
WindowsDialogBox.h
1 // Copyright eeGeo Ltd (2012-2015), All Rights Reserved
2 
3 #pragma once
4 #include <vector>
5 #include "EegeoWindowsGuard.h"
6 #include "IInputBoxDismissedHandler.h"
7 #include "WindowsDialogBoxTemplate.h"
8 
9 
10 
11 namespace Eegeo
12 {
13  const int EEGEO_INPUT_BOX_ID = 2007;
14 
15  enum DialogBoxControl
16  {
17  EEGEO_DIALOG_BOX_BUTTON = 0x0080FFFF,
18  EEGEO_DIALOG_BOX_INPUT = 0x0081FFFF,
19  EEGEO_DIALOG_BOX_STATIC = 0x0082FFFF
20  };
21 
22 
23 
25  {
26  public:
27  WindowsDialogBox(const std::vector<BYTE>& _dialogTemplate);
28 
29  bool ShowDialogBox(HINSTANCE hinst, HWND hwnd, Eegeo::UI::NativeInput::IInputBoxDismissedHandler* callback);
30 
31  private:
32  std::vector<BYTE> m_template;
33  };
34 }