int CALLBACK BrowseCallback(HWND hwnd, UINT uMsg, LPARAM lParam, LPARAM lpData) { CHAR lpszDir[255]; switch(uMsg) { case BFFM_INITIALIZED: SendMessage(hwnd, BFFM_SETSELECTION, TRUE, lpData); break; case BFFM_SELCHANGED: if(SHGetPathFromIDList((LPITEMIDLIST)lParam, lpszDir)) SendMessage(hwnd, BFFM_SETSTATUSTEXT,0, (LPARAM)lpszDir); break; } return 0; } //원하는 이벤트 핸들러에 추가 ITEMIDLIST *pidlBrowse; WC..