Lines Matching refs:pParent
127 Window* pParent = pWindow->GetParent(); in ImplWindowAutoMnemonic() local
128 if ( pParent->GetType() == WINDOW_TABCONTROL ) in ImplWindowAutoMnemonic()
129 pParent = pParent->GetParent(); in ImplWindowAutoMnemonic()
131 if ( (pParent->GetStyle() & (WB_DIALOGCONTROL | WB_NODIALOGCONTROL)) == WB_DIALOGCONTROL ) in ImplWindowAutoMnemonic()
133 pGetChild = pParent->GetWindow( WINDOW_FIRSTCHILD ); in ImplWindowAutoMnemonic()
263 void Dialog::ImplInit( Window* pParent, WinBits nStyle ) in ImplInit() argument
276 if ( !pParent ) in ImplInit()
278 pParent = Application::GetDefDialogParent(); in ImplInit()
279 if ( !pParent && !(nStyle & WB_SYSTEMWINDOW) ) in ImplInit()
280 pParent = ImplGetSVData()->maWinData.mpAppWin; in ImplInit()
284 if ( pParent && (!pParent->IsInputEnabled() || pParent->IsInModalMode()) ) in ImplInit()
291 if ( pParent->ImplGetFirstOverlapWindow()->IsWindowOrChild( pExeDlg, sal_True ) && in ImplInit()
295 pParent = pExeDlg; in ImplInit()
304 else if( pParent == DIALOG_NO_PARENT ) in ImplInit()
305 pParent = NULL; in ImplInit()
325 if ( !pParent || (nStyle & WB_SYSTEMWINDOW) || in ImplInit()
326 …(pParent->mpWindowImpl->mpFrameData->mbNeedSysWindow && !(nSysWinMode & SYSTEMWINDOW_MODE_NOAUTOMO… in ImplInit()
332 … ImplBorderWindow* pBorderWin = new ImplBorderWindow( pParent, nStyle, BORDERWINDOW_STYLE_FRAME ); in ImplInit()
337 mpWindowImpl->mpRealParent = pParent; in ImplInit()
343 …SystemWindow::ImplInit( pParent, (nStyle & (WB_MOVEABLE | WB_SIZEABLE | WB_ROLLABLE | WB_CLOSEABLE… in ImplInit()
350 …ImplBorderWindow* pBorderWin = new ImplBorderWindow( pParent, nStyle, BORDERWINDOW_STYLE_OVERLAP … in ImplInit()
355 mpWindowImpl->mpRealParent = pParent; in ImplInit()
421 Dialog::Dialog( Window* pParent, WinBits nStyle ) : in Dialog() argument
425 ImplInit( pParent, nStyle ); in Dialog()
430 Dialog::Dialog( Window* pParent, const ResId& rResId ) : in Dialog() argument
435 ImplInit( pParent, ImplInitRes( rResId ) ); in Dialog()
627 Window* pParent = GetParent(); in ImplStartExecuteModal() local
628 if ( pParent ) in ImplStartExecuteModal()
630 pParent = pParent->ImplGetFirstOverlapWindow(); in ImplStartExecuteModal()
631 DBG_ASSERT( pParent->IsReallyVisible(), in ImplStartExecuteModal()
633 DBG_ASSERT( pParent->IsInputEnabled(), in ImplStartExecuteModal()
635 DBG_ASSERT( ! pParent->IsInModalMode(), in ImplStartExecuteModal()
814 void Dialog::EndAllDialogs( Window* pParent ) in EndAllDialogs() argument
822 if( !pParent || ( pParent && pParent->IsWindowOrChild( pModDialog, sal_True ) ) ) in EndAllDialogs()
851 Window* pParent = GetParent(); in SetModalInputMode() local
852 if ( pParent ) in SetModalInputMode()
857 mpDialogParent = pParent->mpWindowImpl->mpFrameWindow; in SetModalInputMode()
1001 ModelessDialog::ModelessDialog( Window* pParent, WinBits nStyle ) : in ModelessDialog() argument
1004 ImplInit( pParent, nStyle ); in ModelessDialog()
1009 ModelessDialog::ModelessDialog( Window* pParent, const ResId& rResId ) : in ModelessDialog() argument
1014 ImplInit( pParent, nStyle ); in ModelessDialog()
1023 ModalDialog::ModalDialog( Window* pParent, WinBits nStyle ) : in ModalDialog() argument
1026 ImplInit( pParent, nStyle ); in ModalDialog()
1031 ModalDialog::ModalDialog( Window* pParent, const ResId& rResId ) : in ModalDialog() argument
1035 ImplInit( pParent, ImplInitRes( rResId ) ); in ModalDialog()