摘要:
//删除文件夹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); 阅读全文
摘要:
非模态对话框相对于模态对话框,他的创建和销毁过程和模态对话框有一定的区别 先看一下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 阅读全文
![](/skins/gray/images/separator.gif)