우선 CListControl 컨트롤의 속성에서 HDN_ITEMCLICK 이벤트를 추가해 줍니다 그런 다음 헤더 파일 상단에 구조체 하나를 선언해 줍니다 struct PARAMSORT { PARAMSORT(HWND hWnd, int columnIndex, BOOL ascending) :m_hWnd(hWnd) ,m_ColumnIndex(columnIndex) ,m_Ascending(ascending) {} HWND m_hWnd; int m_ColumnIndex; BOOL m_Ascending; }; 추가로 헤더 파일에 Ascending 할것인지 아닌지를 설정하기 위해 클릭했던 Colume을 기억할 변수를 선언합니다 int m_iSortIndex; 이후 cpp 파일에 CALLBACK 함수를 하나 추가 합니다 ..