MCPcopy Create free account
hub / github.com/BeneficialCode/WinArk / OnExploreDirectory

Method OnExploreDirectory

WinArk/ProcessPropertiesDlg.cpp:168–174  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

166}
167
168LRESULT CProcessPropertiesDlg::OnExploreDirectory(WORD /*wNotifyCode*/, WORD wID, HWND /*hWndCtl*/, BOOL& /*bHandled*/) {
169 if ((INT_PTR)::ShellExecute(nullptr, L"explore", m_px.GetCurDirectory().c_str(),
170 nullptr, nullptr, SW_SHOWDEFAULT) < 32)
171 AtlMessageBox(*this, L"Failed to locate directory", IDS_TITLE, MB_ICONERROR);
172
173 return 0;
174}
175
176LRESULT CProcessPropertiesDlg::OnCopy(WORD /*wNotifyCode*/, WORD wID, HWND /*hWndCtl*/, BOOL& /*bHandled*/) {
177 auto& cmd = m_px.GetCommandLine();

Callers

nothing calls this directly

Calls 1

GetCurDirectoryMethod · 0.80

Tested by

no test coverage detected