Programming/MFC [리스트컨트롤] 리스트 컨트롤 값 입력하고 자동 스크롤하기 푸어맨 2016. 11. 8. 17:52 static int nListPos; // 리스트 아이템 갯수 nListPos = m_LIST_RESULT.GetItemCount(); strListPos.Format(_T("%d"),nListPos); // 리스트 번호값 m_LIST_RESULT.InsertItem(nListPos, strListPos); // PCB 바코드 값 m_LIST_RESULT.SetItem(nListPos, 1, LVIF_TEXT, strBarCode, 0, 0, 0, NULL ); // ListBox 컨트롤 자동 스크롤 m_LIST_RESULT.SendMessage(WM_VSCROLL, SB_BOTTOM);