Link to home
Start Free TrialLog in
Avatar of WinC
WinC

asked on

Checkboxes in Listview\Treeview

Hi,
Can you tell me how to display checkboxes for specified items inside a treeview\listview?
I need to know how to do that.

Thanks
Avatar of MT_MU
MT_MU

For a list view....

CListView::OnInitialUpdate();
      
CListCtrl& hList = GetListCtrl();

ListView_SetExtendedListViewStyle(hList.m_hWnd,LVS_EX_CHECKBOXES);


ASKER CERTIFIED SOLUTION
Avatar of gelbert
gelbert

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial