Lines Matching refs:pSWindow
308 Window* pSWindow; in ImplFindDlgCtrlWindow() local
318 Window* pFirstChildWindow = pSWindow = ImplGetChildWindow( pParent, 0, i, sal_False ); in ImplFindDlgCtrlWindow()
321 pWindow = pSWindow; in ImplFindDlgCtrlWindow()
323 while ( pSWindow ) in ImplFindDlgCtrlWindow()
326 if ( !ImplHasIndirectTabParent( pSWindow ) in ImplFindDlgCtrlWindow()
327 && pSWindow->ImplGetWindow()->IsDialogControlStart() ) in ImplFindDlgCtrlWindow()
332 if ( pSWindow->ImplIsWindowOrChild( pWindow ) ) in ImplFindDlgCtrlWindow()
334 pSecondWindow = pSWindow; in ImplFindDlgCtrlWindow()
337 if ( pSWindow == pWindow ) in ImplFindDlgCtrlWindow()
341 pSWindow = ImplGetNextWindow( pParent, i, i, sal_False ); in ImplFindDlgCtrlWindow()
343 pSWindow = NULL; in ImplFindDlgCtrlWindow()
346 if ( !pSWindow ) in ImplFindDlgCtrlWindow()
354 pSWindow = pSecondWindow; in ImplFindDlgCtrlWindow()
366 pTempWindow = pSWindow; in ImplFindDlgCtrlWindow()
398 return pSWindow; in ImplFindDlgCtrlWindow()
533 Window* pSWindow; in ImplDlgCtrl() local
551 pSWindow = ::ImplFindDlgCtrlWindow( this, pFocusWindow, in ImplDlgCtrl()
553 if ( !pSWindow ) in ImplDlgCtrl()
558 pTempWindow = pSWindow; in ImplDlgCtrl()
604 while ( pTempWindow && (pTempWindow != pSWindow) ) in ImplDlgCtrl()
632 if ( pTempWindow && (pTempWindow == pSWindow) ) in ImplDlgCtrl()
634 NotifyEvent aNEvt1( EVENT_LOSEFOCUS, pSWindow ); in ImplDlgCtrl()
636 pSWindow->LoseFocus(); in ImplDlgCtrl()
637 pSWindow->mpWindowImpl->mnGetFocusFlags = nGetFocusFlags | GETFOCUS_AROUND; in ImplDlgCtrl()
638 NotifyEvent aNEvt2( EVENT_GETFOCUS, pSWindow ); in ImplDlgCtrl()
640 pSWindow->GetFocus(); in ImplDlgCtrl()
641 pSWindow->mpWindowImpl->mnGetFocusFlags = 0; in ImplDlgCtrl()
750 ( pSWindow->GetStyle() & WINDOW_DLGCTRL_MOD1TAB) ) in ImplDlgCtrl()
765 if ( pWindow == pSWindow ) in ImplDlgCtrl()
767 NotifyEvent aNEvt1( EVENT_LOSEFOCUS, pSWindow ); in ImplDlgCtrl()
769 pSWindow->LoseFocus(); in ImplDlgCtrl()
770 … pSWindow->mpWindowImpl->mnGetFocusFlags = nGetFocusFlags | GETFOCUS_AROUND; in ImplDlgCtrl()
771 NotifyEvent aNEvt2( EVENT_GETFOCUS, pSWindow ); in ImplDlgCtrl()
773 pSWindow->GetFocus(); in ImplDlgCtrl()
774 pSWindow->mpWindowImpl->mnGetFocusFlags = 0; in ImplDlgCtrl()
799 Window* pWindow = pSWindow; in ImplDlgCtrl()
800 WinBits nStyle = pSWindow->GetStyle(); in ImplDlgCtrl()
812 if ( pWindow != pSWindow ) in ImplDlgCtrl()
828 pWindow = pSWindow->GetWindow( WINDOW_NEXT ); in ImplDlgCtrl()
861 pSWindow = ::ImplFindAccelWindow( this, i, c, nFormStart, nFormEnd ); in ImplDlgCtrl()
862 if ( pSWindow ) in ImplDlgCtrl()
865 if ( pSWindow == ::ImplFindAccelWindow( this, i, c, nFormStart, nFormEnd ) ) in ImplDlgCtrl()
867 pSWindow->ImplControlFocus( nGetFocusFlags ); in ImplDlgCtrl()
926 Window* pSWindow; in ImplDlgCtrlNextWindow() local
943 pSWindow = ::ImplFindDlgCtrlWindow( pDlgCtrlParent, pDlgCtrl, in ImplDlgCtrlNextWindow()
945 if ( !pSWindow ) in ImplDlgCtrlNextWindow()
949 if ( pWindow && (pWindow != pSWindow) ) in ImplDlgCtrlNextWindow()
960 Window* pSWindow; in ImplDlgCtrlUpdateDefButton() local
966 pSWindow = ::ImplFindDlgCtrlWindow( pParent, pFocusWindow, i, nFormStart, nFormEnd ); in ImplDlgCtrlUpdateDefButton()
967 if ( !pSWindow ) in ImplDlgCtrlUpdateDefButton()
973 pSWindow = ImplGetChildWindow( pParent, nFormStart, i, sal_False ); in ImplDlgCtrlUpdateDefButton()
974 while ( pSWindow ) in ImplDlgCtrlUpdateDefButton()
976 if ( pSWindow->ImplIsPushButton() ) in ImplDlgCtrlUpdateDefButton()
978 PushButton* pPushButton = (PushButton*)pSWindow; in ImplDlgCtrlUpdateDefButton()
987 pSWindow = ImplGetNextWindow( pParent, i, i, sal_False ); in ImplDlgCtrlUpdateDefButton()
989 pSWindow = NULL; in ImplDlgCtrlUpdateDefButton()
1080 Window* pSWindow = NULL; in ImplGetLabelFor() local
1083 pSWindow = ::ImplFindDlgCtrlWindow( pFrameWindow, in ImplGetLabelFor()
1105 pSWindow = ::ImplGetChildWindow( pFrameWindow, in ImplGetLabelFor()
1109 if( pSWindow && pSWindow->IsVisible() && ! (pSWindow->GetStyle() & WB_NOLABEL) ) in ImplGetLabelFor()
1111 WindowType nType = pSWindow->GetType(); in ImplGetLabelFor()
1116 pWindow = pSWindow; in ImplGetLabelFor()
1120 pWindow = pSWindow; in ImplGetLabelFor()
1178 Window* pSWindow = ::ImplFindDlgCtrlWindow( pFrameWindow, in ImplGetLabeledBy() local
1183 if( pSWindow && nIndex != nFormStart ) in ImplGetLabeledBy()
1195 pSWindow = ::ImplGetChildWindow( pFrameWindow, in ImplGetLabeledBy()
1199 if( pSWindow && pSWindow->IsVisible() && !(pSWindow->GetStyle() & WB_NOLABEL) ) in ImplGetLabeledBy()
1201 WindowType nType = pSWindow->GetType(); in ImplGetLabeledBy()
1208 pWindow = pSWindow; in ImplGetLabeledBy()
1275 Window* pSWindow = ::ImplFindDlgCtrlWindow( pFrameWindow, in GetAccessibleRelationMemberOf() local
1280 if( pSWindow && nIndex != nFormStart ) in GetAccessibleRelationMemberOf()
1292 pSWindow = ::ImplGetChildWindow( pFrameWindow, in GetAccessibleRelationMemberOf()
1296 if( pSWindow && pSWindow->IsVisible() && in GetAccessibleRelationMemberOf()
1297 ( pSWindow->GetType() == WINDOW_FIXEDLINE || in GetAccessibleRelationMemberOf()
1298 pSWindow->GetType() == WINDOW_GROUPBOX ) ) in GetAccessibleRelationMemberOf()
1300 pWindow = pSWindow; in GetAccessibleRelationMemberOf()