GUIFramework 1.1.0
Framework for desktop GUI applications in C++.
Loading...
Searching...
No Matches
BaseMultipleSelectListBox.h
Go to the documentation of this file.
1#pragma once
2
3#include "BaseListBox.h"
4
5namespace gui_framework
6{
9 {
10 public:
11 BaseMultipleSelectListBox(const std::wstring& listBoxName, const utility::ComponentSettings& settings, BaseComposite* parent);
12
13 LRESULT getCurrentSelections() const ;
14
15 std::vector<std::wstring> getSelectedItems() const;
16
17 void selectMultipleItems(WPARAM firstItemIndex, LPARAM lastItemIndex) const;
18
19 virtual LRESULT setCurrentSelection(LRESULT index) const final override;
20
23 virtual size_t getHash() const override = 0;
24
25 virtual json::JSONBuilder getStructure() const override;
26
27 virtual ~BaseMultipleSelectListBox() = default;
28 };
29}
#define GUI_FRAMEWORK_API
Base class for all windows that has children windows.
Base class for all list boxes.
Definition BaseListBox.h:15
Base class for all multiple select list boxes.
virtual size_t getHash() const override=0
Used as key in creators.