Forum
Please
Log In
to post a new message or reply to an existing one. If you are not registered, please
register.
NOTE: Some forums may be read-only if you are not currently subscribed to
our technical support services.
Subject |
Author |
Date |
|
Robert Webb
|
Mar 2, 2009 - 11:39 PM
|
Keyboard navigation with a minimized ribbon bar shows the wrong tab selected. Try the ribbon bar MDI sample. Hit Alt and hit a key as shown under the ribbon tabs. If the bar is minimized, then the appropriate page is shown, but the wrong tab is selected above it. Thanks, Rob.
|
|
Technical Support
|
Mar 4, 2009 - 3:26 AM
|
Thank you for reporting this issue. To fix it, please insert four lines of code at the beginning of the following method: bool CExtRibbonBar::Ribbon_AutoHideModeDoExpanding(
CExtRibbonButtonTabPage * pTBB,
bool bKeyboardTrackingEvent
)
{
ASSERT_VALID( this );
ASSERT_VALID( pTBB );
ASSERT( GetSafeHwnd() != NULL );
bKeyboardTrackingEvent;
if( ! Ribbon_AutoHideModeEnabledGet() )
return false;
if( RibbonPage_ExpandedModeGet() )
return false;
////// BEGIN: NEW LINES ////////////////////////////////////////////////////////////////////////
INT nSelIdx = RibbonTabPageButton_GetIndexOf( pTBB );
if( nSelIdx <= 0 )
return false;
Ribbon_PageSelectionSet( nSelIdx, false );
////// END: NEW LINES ////////////////////////////////////////////////////////////////////////
bool bKeyTipsDisplayed = KeyTipsDisplayedGet();
INT nIndex, nCount = AnimationSite_ClientGetCount();
for( nIndex = 0; nIndex < nCount; nIndex ++ )
. . .
|
|