Lines Matching refs:pButtonWindow
535 Window* pButtonWindow; in ImplDlgCtrl() local
568 pButtonWindow = NULL; in ImplDlgCtrl()
573 pButtonWindow = ImplGetChildWindow( this, nFormStart, iButton, sal_True ); in ImplDlgCtrl()
575 while ( pButtonWindow ) in ImplDlgCtrl()
577 if ( (pButtonWindow->GetStyle() & WB_DEFBUTTON) && in ImplDlgCtrl()
578 pButtonWindow->mpWindowImpl->mbPushButton ) in ImplDlgCtrl()
581 pButtonWindow = ImplGetNextWindow( this, iButton, iButton, sal_True ); in ImplDlgCtrl()
583 pButtonWindow = NULL; in ImplDlgCtrl()
586 if ( bKeyInput && !pButtonWindow && (nDlgCtrlFlags & WINDOW_DLGCTRL_RETURN) ) in ImplDlgCtrl()
649 pButtonWindow = ImplGetChildWindow( this, nFormStart, iButton, sal_True ); in ImplDlgCtrl()
651 while ( pButtonWindow ) in ImplDlgCtrl()
653 if ( pButtonWindow->GetType() == WINDOW_CANCELBUTTON ) in ImplDlgCtrl()
656 pButtonWindow = ImplGetNextWindow( this, iButton, iButton, sal_True ); in ImplDlgCtrl()
658 pButtonWindow = NULL; in ImplDlgCtrl()
663 if ( mpWindowImpl->mpDlgCtrlDownWindow != pButtonWindow ) in ImplDlgCtrl()
874 …if ( pButtonWindow && pButtonWindow->IsVisible() && pButtonWindow->IsEnabled() && pButtonWindow->I… in ImplDlgCtrl()
878 … if ( mpWindowImpl->mpDlgCtrlDownWindow && (mpWindowImpl->mpDlgCtrlDownWindow != pButtonWindow) ) in ImplDlgCtrl()
884 ((PushButton*)pButtonWindow)->SetPressed( sal_True ); in ImplDlgCtrl()
885 mpWindowImpl->mpDlgCtrlDownWindow = pButtonWindow; in ImplDlgCtrl()
887 else if ( mpWindowImpl->mpDlgCtrlDownWindow == pButtonWindow ) in ImplDlgCtrl()
890 ((PushButton*)pButtonWindow)->SetPressed( sal_False ); in ImplDlgCtrl()
891 ((PushButton*)pButtonWindow)->Click(); in ImplDlgCtrl()