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

Method OnFindReplaceMessage

WinArk/MainFrame.cpp:1030–1043  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1028}
1029
1030LRESULT CMainFrame::OnFindReplaceMessage(UINT /*uMsg*/, WPARAM id, LPARAM lParam, BOOL& handled) {
1031 auto fr = reinterpret_cast<FINDREPLACE*>(lParam);
1032 if (fr->Flags & FR_DIALOGTERM) {
1033 m_pFindDlg->DestroyWindow();
1034 m_pFindDlg = nullptr;
1035 return 0;
1036 }
1037 m_FindText = fr->lpstrFindWhat;
1038 m_FindFlags = fr->Flags;
1039
1040 m_IView->DoFind(m_FindText, m_FindFlags);
1041
1042 return 0;
1043}
1044
1045LRESULT CMainFrame::OnRunAsSystem(WORD /*wNotifyCode*/, WORD /*wID*/, HWND /*hWndCtl*/, BOOL& /*bHandled*/) {
1046 if (SecurityHelper::EnablePrivilege(SE_DEBUG_NAME, true)) {

Callers

nothing calls this directly

Calls 1

DoFindMethod · 0.45

Tested by

no test coverage detected