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

Method DoPaint

DuiLib/Control/UIActiveX.cpp:937–945  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

935}
936
937void CActiveXUI::DoPaint(HDC hDC, const RECT& rcPaint)
938{
939 if( !::IntersectRect(&m_rcPaint, &rcPaint, &m_rcItem) ) return;
940
941 if( m_pControl != NULL && m_pControl->m_bWindowless && m_pControl->m_pViewObject != NULL )
942 {
943 m_pControl->m_pViewObject->Draw(DVASPECT_CONTENT, -1, NULL, NULL, NULL, hDC, (RECTL*) &m_rcItem, (RECTL*) &m_rcItem, NULL, NULL);
944 }
945}
946
947void CActiveXUI::SetAttribute(LPCTSTR pstrName, LPCTSTR pstrValue)
948{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected