xref: /third_party/lzma/CPP/7zip/UI/FileManager/ComboDialog.h (revision 370b324c)
  • Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /third_party/lzma/CPP/7zip/UI/FileManager/
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
11class 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;
17public:
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

Indexes created Thu Nov 07 10:32:03 CST 2024