Window下资源管理器的刷新

Xp:

PostMessage(hwnd, WM_COMMAND, 41504, NULL);

 

Win7:

SHChangeNotify(SHCNE_UPDATEDIR , SHCNF_PATH | SHCNF_FLUSHNOWAIT, folderPath.utf16(), NULL);

 

posted @ 2014-10-18 14:44  纠纠结结  阅读(464)  评论(0编辑  收藏  举报