| 316 | #pragma mark - IOleInPlaceObject |
| 317 | |
| 318 | STDMETHODIMP CProgressBarControl_IOleInPlaceObject::SetObjectRects(LPCRECT lprcPosRect, LPCRECT lprcClipRect) { |
| 319 | if (lprcPosRect == NULL) { |
| 320 | return E_POINTER; |
| 321 | } |
| 322 | |
| 323 | m_pParent->m_width = lprcPosRect->right - lprcPosRect->left; |
| 324 | m_pParent->m_height = lprcPosRect->bottom - lprcPosRect->top; |
| 325 | return S_OK; |
| 326 | } |
| 327 | |
| 328 | #pragma mark - IOleInPlaceActiveObject |
| 329 |
nothing calls this directly
no outgoing calls
no test coverage detected