Confirmed ribbon bug |
Post Reply |
Author | |
znakeeye
Senior Member Joined: 26 July 2006 Status: Offline Points: 1672 |
Post Options
Thanks(0)
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/
|
|
znakeeye
Senior Member Joined: 26 July 2006 Status: Offline Points: 1672 |
Post Options
Thanks(0)
|
The same is true for custom controls. The popup menu is not dismissed... :( |
|
PokerMemento - http://www.pokermemento.com/
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Thanks. Scrollbars fixed.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
znakeeye
Senior Member Joined: 26 July 2006 Status: Offline Points: 1672 |
Post Options
Thanks(0)
|
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/
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi, Yes, gueess its true. You have manually call m_pParent->SetPopuped(-1); for such control. :(
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
znakeeye
Senior Member Joined: 26 July 2006 Status: Offline Points: 1672 |
Post Options
Thanks(0)
|
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/
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |