[MFC] 디렉토리 창 띄우기..
int CALLBACK MyBrowseCallbackProc( HWND hwnd, UINT uMsg, LPARAM lParam, LPARAM lpData ) { switch (uMsg) { case BFFM_INITIALIZED: ::SendMessage( hwnd, BFFM_SETSELECTION, TRUE, lpData ); break; } return 0; } void CEmptyMFCDlg::DirectoryBrowerFunction() { // Folder 찾기 LPITEMIDLIST pidl; BROWSEINFO bi; char root[MAX_PATH] = {0,}; char defaultd[MAX_PATH] = {0,}; memcpy( defaultd , "c:\\WinDDK\\" , MA..
2008. 10. 14.