Lines Matching refs:pOldFocus
342 CXFA_FFWidget* pOldFocus = m_pOldFocusWidget; in SetFocus() local
344 if (pOldFocus) { in SetFocus()
346 (pOldFocus->GetStatus() & XFA_WidgetStatus_Focused)) { in SetFocus()
347 m_pFocusWidget = pOldFocus; in SetFocus()
348 pOldFocus->OnKillFocus(pNewFocus); in SetFocus()
349 } else if ((pOldFocus->GetStatus() & XFA_WidgetStatus_Visible)) { in SetFocus()
350 if (!pOldFocus->IsLoaded()) { in SetFocus()
351 pOldFocus->LoadWidget(); in SetFocus()
353 pOldFocus->OnSetFocus(m_pFocusWidget); in SetFocus()
354 m_pFocusWidget = pOldFocus; in SetFocus()
355 pOldFocus->OnKillFocus(pNewFocus); in SetFocus()