23 virtual LRESULT windowMessagesHandle(HWND handle, UINT message, WPARAM wparam, LPARAM lparam,
bool& isUsed)
final override;
31 static void loadOnSelectionChangeFromModule(std::function<
void(
BaseComboBox&)>& onSelectionChange,
const std::string& functionName,
const std::string& moduleName);
47 LRESULT addValue(
const std::wstring& value);
55 LRESULT addValues(
const std::vector<std::wstring>& values);
61 LRESULT removeValue(
size_t index);
68 virtual LRESULT insertValue(
const std::wstring& value, LRESULT index);
75 virtual LRESULT changeValue(
const std::wstring& newValue, LRESULT index);
81 LRESULT findSubstring(
const std::wstring& substringToFind);
87 LRESULT findString(
const std::wstring& stringToFind);
93 std::wstring getValue(
size_t index)
const;
98 LRESULT getCurrentSelectionIndex()
const;
104 LRESULT setCurrentSelection(LRESULT index)
const;
109 LRESULT size()
const;
116 void setSortingMode(
bool isSorting);
123 LRESULT setItemHeight(itemHeightEnum value, uint16_t height);
129 LRESULT setDroppedWidth(uint16_t width);
151 LRESULT getDroppedWidth()
const;
157 virtual void resize(uint16_t width, uint16_t height)
override;
164 virtual void setBackgroundColor(uint8_t red, uint8_t green, uint8_t blue)
final override;
171 virtual void setTextColor(uint8_t red, uint8_t green, uint8_t blue)
final override;
177 virtual json::JSONBuilder getStructure()
const override;