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

Method OnGotoKey

WinArk/View.cpp:1568–1578  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1566}
1567
1568LRESULT CRegistryManagerView::OnGotoKey(WORD, WORD, HWND, BOOL&) {
1569 CGotoKeyDlg dlg;
1570 dlg.SetKey(GetFullNodePath(m_Tree.GetSelectedItem()));
1571 if (dlg.DoModal() == IDOK) {
1572 CWaitCursor wait;
1573 auto hItem = GotoKey(dlg.GetKey());
1574 if(!hItem)
1575 AtlMessageBox(m_hWnd, L"Failed to locate key", IDS_TITLE, MB_ICONERROR);
1576 }
1577 return 0;
1578}

Callers

nothing calls this directly

Calls 1

SetKeyMethod · 0.80

Tested by

no test coverage detected