摘要:
//删除文件夹SHFILEOPSTRUCT FileOp; FileOp.fFlags = FOF_NOCONFIRMATION; FileOp.hNameMappings = NULL; FileOp.hwnd = NULL; FileOp.lpszProgressTitle = NULL; FileOp.pFrom = _T("要被删除的文件夹路径"); FileOp.pTo = NULL; FileOp.wFunc = FO_DELETE; int i = SHFileOperation(&FileOp); 阅读全文
posted @ 2011-03-11 14:19
Jiang, X.
阅读(265)
评论(0)
推荐(0)
摘要:
非模态对话框相对于模态对话框,他的创建和销毁过程和模态对话框有一定的区别 先看一下MSDN的原文:When you implement a modeless dialog box, always override the OnCancel member function and call DestroyWindow from within it. Don’t call the base class CDialog::OnCancel, because it calls EndDialog, which will make the dialog box invisible but will no 阅读全文
posted @ 2011-03-11 08:17
Jiang, X.
阅读(436)
评论(0)
推荐(0)


浙公网安备 33010602011771号