MCPcopy Create free account
hub / github.com/CobaltFusion/DebugViewPP / OnClick

Method OnClick

DebugView++/LogView.cpp:415–427  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

413}
414
415LRESULT CLogView::OnClick(NMHDR* pnmh)
416{
417 auto& nmhdr = *reinterpret_cast<NMITEMACTIVATE*>(pnmh);
418
419 LVHITTESTINFO info;
420 info.flags = 0;
421 info.pt = nmhdr.ptAction;
422 SubItemHitTest(&info);
423 if ((info.flags & LVHT_ONITEM) != 0 && info.iSubItem == ColumnToSubItem(Column::Bookmark))
424 ToggleBookmark(info.iItem);
425
426 return 0;
427}
428
429void CLogView::OnLButtonDown(UINT flags, CPoint point)
430{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected