Print Page | Close Window

Confirmed ribbon bug

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=14345
Printed Date: 07 May 2024 at 9:26am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Confirmed ribbon bug
Posted By: znakeeye
Subject: Confirmed ribbon bug
Date Posted: 20 May 2009 at 5:30am
XTP 13 :)
 
1) CXTPControlComboBox -> list is shown
2) Then I click on the inside-scrollbars in the gallery to the left.
 
As you can see, the list is not dismissed! Just confirmed Word 2007 behavior: list is closed whenever the gallery scrollbar is clicked!


-------------
PokerMemento - http://www.pokermemento.com/



Replies:
Posted By: znakeeye
Date Posted: 20 May 2009 at 7:43am

The same is true for custom controls. The popup menu is not dismissed... :(



-------------
PokerMemento - http://www.pokermemento.com/


Posted By: Oleg
Date Posted: 21 May 2009 at 1:53am
Thanks. Scrollbars fixed.

-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: znakeeye
Date Posted: 22 July 2009 at 1:45am
How do you fix this for custom controls. As it is now (XTP 13.1), the popup is not dismissed when I click a custom control (such as a date control).

-------------
PokerMemento - http://www.pokermemento.com/


Posted By: Oleg
Date Posted: 22 July 2009 at 4:07am

Hi,

Yes, gueess its true. You have manually call m_pParent->SetPopuped(-1); for such control. :(


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: znakeeye
Date Posted: 23 July 2009 at 10:57pm
Problem is that no mouse/focus messages are sent to the window when a gallery/menu is visible!
 
void CMyWnd::OnSetFocus(CWnd* pOldWnd)
{
    CXTPRibbonBar *pRibbonBar = DYNAMIC_DOWNCAST(CXTPRibbonBar, GetParent());
    if (pRibbonBar)
    {
        pRibbonBar->SetPopuped(-1);
    }

    CWnd::OnSetFocus(pOldWnd);
}
 
I just verified with Spy++. The messages appear only when the gallery is closed. Really weird...


-------------
PokerMemento - http://www.pokermemento.com/



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net