블로그는 나의 힘!
[ Programing ]/MFC2013. 5. 21. 23:55

CListBox ctrlSomethingList.ResetContent();
ctrlSomethingList.SendMessage( LB_DIR, 0, (LPARAM)("경로\*.확장자") );

 

 for(int i=0;;i++)
 {
      TCHAR strText[128] = {NULL,};

 

      if (m_ctrlSomethingList.GetText(i,strText) == LB_ERR)
             break;  

 }

 

 

 

Posted by Mister_Q