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