Lhaz
読み取り中…
検索中…
一致する文字列を見つけられません
lhaztreeview.h
[詳解]
1/*==========================================================================*/
2/* Lhaz Treeview chitora48@gmail.com */
3/*==========================================================================*/
4#ifndef _LHAZTREEVIEW_H
5#define _LHAZTREEVIEW_H
6
7#include <windows.h>
8#include "altstr_fwd.hpp"
9#include "mytreeview.h"
10#include "lhazarc.h"
11
12class MYTREE;
13
14
15namespace gui {
16
17
18class LHAZTREEVIEW : public MYTREEVIEW {
19public:
20 LHAZTREEVIEW(HINSTANCE hins, HWND parent, UINT id, int nWidth, int nHeight);
21 ‾LHAZTREEVIEW(void);
22 //
23 HTREEITEM CreateRoot(const WSTR& name, ARCHIVE::TYPE type, LPARAM lParam);
24 void CreateTree(const WSTR& name, ARCHIVE::TYPE type);
25 bool DeleteItem(HTREEITEM hitem);
26 int GetParam(HTREEITEM hitem) const;
27 HTREEITEM GetRoot(HTREEITEM hitem) const;
28 HTREEITEM GetRoot(void) const;
29 int GetRootIndex(HTREEITEM hitem) const;
30 LPARAM GetSelectedFolder(void) const;
31 HTREEITEM GetSelectedRoot(void) const;
32 HTREEITEM InsertItem(HTREEITEM parent, const WSTR& name, LPARAM lParam);
33 HTREEITEM InsertItem(LPTVINSERTSTRUCT lpis);
34 bool IsSelectedRoot(void) const;
35
36private:
37 static int Index;
38 static const int IconIndexRes[ARCHIVE::MAX];
39 //
40 HINSTANCE Resource;
41 HIMAGELIST Image;
45
46};
47
48
49} // namespace gui
50
51#endif // _LHAZTREEVIEW_H
TYPE
Definition lhazarc.h:28
@ MAX
Definition lhazarc.h:53
Definition lhaztreeview.h:18
static const int IconIndexRes[ARCHIVE::MAX]
Definition lhaztreeview.h:38
int IconIndexFolderOpened
Definition lhaztreeview.h:44
void CreateTree(const WSTR &name, ARCHIVE::TYPE type)
int IconIndexFolder
Definition lhaztreeview.h:43
HTREEITEM CreateRoot(const WSTR &name, ARCHIVE::TYPE type, LPARAM lParam)
Definition lhaztreeview.cpp:105
bool DeleteItem(HTREEITEM hitem)
Definition lhaztreeview.cpp:180
HTREEITEM GetSelectedRoot(void) const
Definition lhaztreeview.cpp:228
int GetRootIndex(HTREEITEM hitem) const
int GetParam(HTREEITEM hitem) const
Definition lhaztreeview.cpp:189
bool IsSelectedRoot(void) const
Definition lhaztreeview.cpp:165
‾LHAZTREEVIEW(void)
Definition lhaztreeview.cpp:90
int IconIndexRoot[ARCHIVE::MAX]
Definition lhaztreeview.h:42
HINSTANCE Resource
Definition lhaztreeview.h:40
static int Index
Definition lhaztreeview.h:37
HIMAGELIST Image
Definition lhaztreeview.h:41
HTREEITEM InsertItem(HTREEITEM parent, const WSTR &name, LPARAM lParam)
Definition lhaztreeview.cpp:122
HTREEITEM GetRoot(void) const
Definition lhaztreeview.cpp:203
LPARAM GetSelectedFolder(void) const
Definition lhaztreeview.cpp:150
Archive
Definition lhazbz2.h:17