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

Method MeasureItem

DebugView++/LogView.cpp:573–581  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

571}
572
573void CLogView::MeasureItem(MEASUREITEMSTRUCT* pMeasureItemStruct)
574{
575 CClientDC dc(*this);
576
577 Win32::GdiObjectSelection font(dc, GetFont());
578 TEXTMETRIC metric;
579 dc.GetTextMetrics(&metric);
580 pMeasureItemStruct->itemHeight = metric.tmHeight;
581}
582
583void CLogView::DrawItem(DRAWITEMSTRUCT* pDrawItemStruct)
584{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected