MCPcopy Create free account
hub / github.com/ashkulz/NppFTP / SetTreeview

Method SetTreeview

src/Windows/Treeview.cpp:440–452  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

438}
439
440int TreeImageList::SetTreeview(Treeview * tree) {
441 if (m_treeview)
442 return -1;
443
444 m_treeview = tree;
445 m_treeview->m_treeImagelist = this;
446
447 //Set the imagelist
448 HWND hTreeview = m_treeview->GetHWND();
449 SendMessage(hTreeview, TVM_SETIMAGELIST, TVSIL_NORMAL, (LPARAM)m_hImageListTreeviewCurrent);
450
451 return 0;
452}
453
454int TreeImageList::Initialize() {
455 if (m_initialized)

Callers 1

CreateMethod · 0.80

Calls 1

GetHWNDMethod · 0.80

Tested by

no test coverage detected