GUIFramework 1.1.0
Framework for desktop GUI applications in C++.
Loading...
Searching...
No Matches
IBaseListViewOperations.h
Go to the documentation of this file.
1#pragma once
2
3#include "Core.h"
4
5namespace gui_framework
6{
7 namespace interfaces
8 {
11 {
12 private:
13 HWND listViewHandle;
14 size_t listViewSize;
15
16 protected:
17 virtual void onRemove(size_t index);
18
19 protected:
20 virtual LRESULT addItem(const LVITEMW& item);
21
22 virtual LRESULT setItem(const LVITEMW& item);
23
24 virtual void getItem(LVITEMW& item) const;
25
26 public:
27 IBaseListViewOperations(HWND handle);
28
29 virtual bool removeItem(size_t index) final;
30
31 virtual size_t size() const final;
32
33 virtual ~IBaseListViewOperations() = default;
34 };
35 }
36}
#define GUI_FRAMEWORK_API
Provides adding, deleting, setting, getting items for other list view interfaces.