| 595 | } |
| 596 | |
| 597 | CControlUI* CControlUI::FindControl(FINDCONTROLPROC Proc, LPVOID pData, UINT uFlags) |
| 598 | { |
| 599 | if( (uFlags & UIFIND_VISIBLE) != 0 && !IsVisible() ) return NULL; |
| 600 | if( (uFlags & UIFIND_ENABLED) != 0 && !IsEnabled() ) return NULL; |
| 601 | if( (uFlags & UIFIND_HITTEST) != 0 && (!m_bMouseEnabled || !::PtInRect(&m_rcItem, * static_cast<LPPOINT>(pData))) ) return NULL; |
| 602 | return Proc(this, pData); |
| 603 | } |
| 604 | |
| 605 | void CControlUI::Invalidate() |
| 606 | { |
nothing calls this directly
no outgoing calls
no test coverage detected