TreeCtrl LPARAM 이용하기
1. TreeCtrl 구성 TV_INSERTSTRUCT tvstruct; HTREEITEM item, item2; tvstruct.hParent = NULL; tvstruct.hInsertAfter = TVI_LAST; tvstruct.item.mask = TVIF_TEXT | TVIF_PARAM; tvstruct.item.pszText = "코스피"; tvstruct.item.lParam = (LPARAM)"KOSPI"; item = m_treeCtrl.InsertItem(&tvstruct); tvstruct.item.pszText = "코스닥"; tvstruct.item.lParam = (LPARAM) "KOSDAQ"; item2 = m_treeCtrl.InsertItem(&tvstruct); tvs..
컴퓨팅/프로그래밍
2011. 12. 3. 12:00