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