• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // ComboDialog.h
2 
3 #ifndef __COMBO_DIALOG_H
4 #define __COMBO_DIALOG_H
5 
6 #include "../../../Windows/Control/ComboBox.h"
7 #include "../../../Windows/Control/Dialog.h"
8 
9 #include "ComboDialogRes.h"
10 
11 class CComboDialog: public NWindows::NControl::CModalDialog
12 {
13   NWindows::NControl::CComboBox _comboBox;
14   virtual void OnOK();
15   virtual bool OnInit();
16   virtual bool OnSize(WPARAM wParam, int xSize, int ySize);
17 public:
18   // bool Sorted;
19   UString Title;
20   UString Static;
21   UString Value;
22   UStringVector Strings;
23 
24   // CComboDialog(): Sorted(false) {};
25   INT_PTR Create(HWND parentWindow = 0) { return CModalDialog::Create(IDD_COMBO, parentWindow); }
26 };
27 
28 #endif
29