Professional UI Solutions
Site Map   /  Register


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.

Forums » Prof-UIS Tech Support » a bug of CExtRibbon ( My intention is not handed down to you well.) Collapse All
Subject Author Date
tera tera Apr 2, 2009 - 9:11 PM


My intention is not handed down to you well.

Please download this.

Please click Assert-Menu1 several times.

RibbonMenu changes dynamically.


Please click Assert-Menu2 several times next.

RibbonMenu changes dynamically.

However, Assert appears when you operate it several times.

( This phenomenon occurs in for release conspicuously )

I want you to repair this malfunction.


Technical Support Apr 8, 2009 - 6:49 AM

Thank you for the video file. Unfortunately it does not help much. We suspect this issue should be gone if you update the source code for the following method:

void CExtToolControlBar::_UpdateButton( int nIndex )
CWnd * pTarget = GetOwner();
            if( pTarget == NULL && ( ! m_bPresubclassDialogMode ) )
                        pTarget = GetParentFrame();
            if( pTarget == NULL )
BOOL bDisableIfNoHandler = TRUE;
            if( pTarget->IsKindOf( RUNTIME_CLASS(CFrameWnd) ) )
                        bDisableIfNoHandler = ((CFrameWnd *)pTarget)->m_bAutoMenuEnable;
CExtBarButton * pTBB = _GetButtonPtr( nIndex );
            if( pTBB == NULL )
            ASSERT_VALID( pTBB );
            pTBB->OnUpdateCmdUI( pTarget, bDisableIfNoHandler, nIndex );

tera tera Apr 8, 2009 - 7:49 PM

Thank you very much for your advice.

The application works normally.

Technical Support Apr 7, 2009 - 1:00 PM

No. Do we need some more details about what should we do? What, where and how should we click? etc.

tera tera Apr 7, 2009 - 7:29 PM



I made reproduction Video.

tera tera Apr 7, 2009 - 7:08 PM



Please click a place shown in a figure many times.

A "Debug" version sometimes reappears.


You build application by release.

Please click a place shown in a figure many times.

Assert appears immediately.

Does not the Assert reappear?


tera tera Apr 6, 2009 - 4:49 AM


You are for release, and please test it

"assert" is frequent.

tera tera Apr 6, 2009 - 6:24 PM


Did the bug reappear?



Technical Support Apr 3, 2009 - 10:56 AM

We clicked 200 times one button and 200 times another. We didn’t see assertions. Do you have any additional advice on how to reproduce it?