index (1) 썸네일형 리스트형 [CODE 바로가기] 리스트컨트롤(ListCtrl) Row Index 얻어오기 리스트컨트롤(Listctrl)의 Row의 index를 얻어오는 코드. 내가 선택한 줄이 몇번째 줄인가를 얻어와야 해당 라인의 각 컬럼에 속한 값들을 얻어올 수 있다. void CTestDlg::OnNMDblclkStatusLst(NMHDR *pNMHDR, LRESULT *pResult) { //LPNMITEMACTIVATE pNMItemActivate = reinterpret_cast(pNMHDR); // TODO: Add your control notification handler code here NM_LISTVIEW* pNMListView = (NM_LISTVIEW*)pNMHDR; int itemindex = pNMListView->iItem; *pResult = 0; } 위 코드는 리스트컨트롤의 .. 이전 1 다음