diff options
author | Thomas Benisch <tbe@openoffice.org> | 2001-09-20 13:01:00 +0000 |
---|---|---|
committer | Thomas Benisch <tbe@openoffice.org> | 2001-09-20 13:01:00 +0000 |
commit | 4dc1fa1fe73f9d9285bb4b745ce5fbfb1d6743d1 (patch) | |
tree | 0ddcdb8beaa8087654ca213966072cd050454bb7 /basctl/source/basicide/basides1.cxx | |
parent | 176356b5af794211970e357003ff72de0c9b3993 (diff) |
#92297# BasicIDE: property browser still open when module window gets focus
Diffstat (limited to 'basctl/source/basicide/basides1.cxx')
-rw-r--r-- | basctl/source/basicide/basides1.cxx | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/basctl/source/basicide/basides1.cxx b/basctl/source/basicide/basides1.cxx index 75b7efad510e..38b1fcb0ccc0 100644 --- a/basctl/source/basicide/basides1.cxx +++ b/basctl/source/basicide/basides1.cxx @@ -2,9 +2,9 @@ * * $RCSfile: basides1.cxx,v $ * - * $Revision: 1.14 $ + * $Revision: 1.15 $ * - * last change: $Author: tbe $ $Date: 2001-09-06 12:48:14 $ + * last change: $Author: tbe $ $Date: 2001-09-20 13:59:00 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -968,6 +968,20 @@ void __EXPORT BasicIDEShell::GetState(SfxItemSet &rSet) pCurWin->GetState( rSet ); } +BOOL BasicIDEShell::HasUIFeature( ULONG nFeature ) +{ + BOOL bResult = FALSE; + + if ( (nFeature & BASICIDE_UI_FEATURE_SHOW_BROWSER) == BASICIDE_UI_FEATURE_SHOW_BROWSER ) + { + // fade out (in) property browser in module (dialog) windows + if ( pCurWin && pCurWin->IsA( TYPE( DialogWindow ) ) ) + bResult = TRUE; + } + + return bResult; +} + void BasicIDEShell::SetCurWindow( IDEBaseWindow* pNewWin, BOOL bUpdateTabBar, BOOL bRememberAsCurrent ) { // Es muss ein EditWindow am Sfx gesetzt sein, sonst kommt kein @@ -1061,6 +1075,8 @@ void BasicIDEShell::SetCurWindow( IDEBaseWindow* pNewWin, BOOL bUpdateTabBar, BO SetMDITitle(); EnableScrollbars( pCurWin ? TRUE : FALSE ); + // fade out (in) property browser in module (dialog) windows + UIFeatureChanged(); } } |