• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // ComboDialog.h
2 
3 #ifndef ZIP7_INC_COMBO_DIALOG_H
4 #define ZIP7_INC_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() Z7_override;
15   virtual bool OnInit() Z7_override;
16   virtual bool OnSize(WPARAM wParam, int xSize, int ySize) Z7_override;
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 = NULL) { return CModalDialog::Create(IDD_COMBO, parentWindow); }
26 };
27 
28 #endif
29