2013年11月7日

SHBrowseForFolder指定初始化显示的目录

摘要: int BrowseCallbackProc(HWND hwnd, UINT msg, LPARAM lp, LPARAM pData) { // m_strInitDir为初始化目录 if (!m_strInitDir.empty()) { if (msg == BFFM_INITIALIZED) { ::SendMessage(hwnd,BFFM_SETEXPANDED,TRUE,(LPARAM)m_strInitDir.c_str()); } else if (msg == BFFM_... 阅读全文

posted @ 2013-11-07 14:00 夜曲2005 阅读(725) 评论(0) 推荐(0) 编辑

导航