Kaydet (Commit) e88c0c84 authored tarafından Ariel Constenla-Haile's avatar Ariel Constenla-Haile

i118707 - make toolbar control's popup window grab focus

üst 27118ebc
...@@ -238,7 +238,11 @@ Reference< awt::XWindow > SAL_CALL PopupWindowController::createPopupWindow() th ...@@ -238,7 +238,11 @@ Reference< awt::XWindow > SAL_CALL PopupWindowController::createPopupWindow() th
{ {
pWin->EnableDocking(true); pWin->EnableDocking(true);
mpImpl->SetPopupWindow(pWin,pToolBox); mpImpl->SetPopupWindow(pWin,pToolBox);
::Window::GetDockingManager()->StartPopupMode( pToolBox, pWin, FLOATWIN_POPUPMODE_NOFOCUSCLOSE|FLOATWIN_POPUPMODE_ALLMOUSEBUTTONCLOSE |FLOATWIN_POPUPMODE_NOMOUSEUPCLOSE ); ::Window::GetDockingManager()->StartPopupMode( pToolBox, pWin,
FLOATWIN_POPUPMODE_GRABFOCUS |
FLOATWIN_POPUPMODE_NOFOCUSCLOSE |
FLOATWIN_POPUPMODE_ALLMOUSEBUTTONCLOSE |
FLOATWIN_POPUPMODE_NOMOUSEUPCLOSE );
} }
} }
return Reference< awt::XWindow >(); return Reference< awt::XWindow >();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment