| 935 | } |
| 936 | |
| 937 | void 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 | |
| 947 | void CActiveXUI::SetAttribute(LPCTSTR pstrName, LPCTSTR pstrValue) |
| 948 | { |
nothing calls this directly
no outgoing calls
no test coverage detected