Kaydet (Commit) acc26431 authored tarafından Stephan Schäfer's avatar Stephan Schäfer

#96979# avoid close on focus change for decorated floating windows

üst 73c353d4
...@@ -2,9 +2,9 @@ ...@@ -2,9 +2,9 @@
* *
* $RCSfile: floatwin.cxx,v $ * $RCSfile: floatwin.cxx,v $
* *
* $Revision: 1.11 $ * $Revision: 1.12 $
* *
* last change: $Author: pl $ $Date: 2002-03-19 17:09:34 $ * last change: $Author: ssa $ $Date: 2002-03-27 15:31:08 $
* *
* The Contents of this file are made available subject to the terms of * The Contents of this file are made available subject to the terms of
* either of the following licenses * either of the following licenses
...@@ -600,6 +600,10 @@ void FloatingWindow::StartPopupMode( const Rectangle& rRect, ULONG nFlags ) ...@@ -600,6 +600,10 @@ void FloatingWindow::StartPopupMode( const Rectangle& rRect, ULONG nFlags )
else else
SetTitleType( FLOATWIN_TITLE_NONE ); SetTitleType( FLOATWIN_TITLE_NONE );
// avoid close on focus change for decorated floating windows
if( mbFrame && (GetStyle() & WB_MOVEABLE) )
nFlags |= FLOATWIN_POPUPMODE_NOAPPFOCUSCLOSE;
// Fenster-Position ermitteln und setzen // Fenster-Position ermitteln und setzen
USHORT nArrangeIndex; USHORT nArrangeIndex;
SetPosPixel( ImplCalcPos( this, rRect, nFlags, nArrangeIndex ) ); SetPosPixel( ImplCalcPos( this, rRect, nFlags, nArrangeIndex ) );
......
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