摘要: WCHAR szPath[_MAX_PATH] = {0}; BROWSEINFO bi; //指定父窗口,在对话框显示期间,父窗口将被禁用 bi.hwndOwner = this->GetSafeHwnd(); //如果指定NULL,就以“桌面”为根 bi.pidlR... 阅读全文
posted @ 2015-09-19 09:39 QQ76211822 阅读(591) 评论(0) 推荐(0) 编辑
摘要: CFileDialog dlg( TRUE, NULL, NULL, OFN_ALLOWMULTISELECT, NULL, NULL ); DWORD MAXFILE = 2562; //2562 is the max TCHAR* pc = new TCHAR[MAXFILE * (... 阅读全文
posted @ 2015-09-19 09:39 QQ76211822 阅读(585) 评论(0) 推荐(0) 编辑
摘要: BOOL CMenuOperate::PreTranslateMessage(MSG* pMsg){ if(pMsg->message == WM_KEYDOWN && pMsg->wParam == VK_ESCAPE){ return TRUE; } else i... 阅读全文
posted @ 2015-09-19 09:22 QQ76211822 阅读(150) 评论(0) 推荐(0) 编辑