Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - Confirmed ribbon bug
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Confirmed ribbon bug

 Post Reply Post Reply
Author
Message
znakeeye View Drop Down
Senior Member
Senior Member
Avatar

Joined: 26 July 2006
Status: Offline
Points: 1672
Post Options Post Options   Thanks (0) Thanks(0)   Quote znakeeye Quote  Post ReplyReply Direct Link To This Post Topic: Confirmed ribbon bug
    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/
Back to Top
znakeeye View Drop Down
Senior Member
Senior Member
Avatar

Joined: 26 July 2006
Status: Offline
Points: 1672
Post Options Post Options   Thanks (0) Thanks(0)   Quote znakeeye Quote  Post ReplyReply Direct Link To This Post 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/
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 21 May 2009 at 1:53am
Thanks. Scrollbars fixed.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
znakeeye View Drop Down
Senior Member
Senior Member
Avatar

Joined: 26 July 2006
Status: Offline
Points: 1672
Post Options Post Options   Thanks (0) Thanks(0)   Quote znakeeye Quote  Post ReplyReply Direct Link To This Post 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/
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
znakeeye View Drop Down
Senior Member
Senior Member
Avatar

Joined: 26 July 2006
Status: Offline
Points: 1672
Post Options Post Options   Thanks (0) Thanks(0)   Quote znakeeye Quote  Post ReplyReply Direct Link To This Post 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/
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.578 seconds.