MCPcopy Create free account
hub / github.com/cinience/RedisStudio / EstimateSize

Method EstimateSize

DuiLib/Control/UIEdit.cpp:462–466  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

460 }
461
462 SIZE CEditUI::EstimateSize(SIZE szAvailable)
463 {
464 if( m_cxyFixed.cy == 0 ) return CSize(m_cxyFixed.cx, m_pManager->GetFontInfo(GetFont())->tm.tmHeight + 6);
465 return CControlUI::EstimateSize(szAvailable);
466 }
467
468 void CEditUI::SetAttribute(LPCTSTR pstrName, LPCTSTR pstrValue)
469 {

Callers

nothing calls this directly

Calls 1

GetFontInfoMethod · 0.80

Tested by

no test coverage detected