![]() |
Confirmed ribbon bug |
Post Reply ![]() |
Author | |
znakeeye ![]() Senior Member ![]() ![]() Joined: 26 July 2006 Status: Offline Points: 1672 |
![]() ![]() ![]() ![]() ![]() 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 |
![]() ![]() ![]() ![]() ![]() |
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 |
![]() ![]() ![]() ![]() ![]() |
Thanks. Scrollbars fixed.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
znakeeye ![]() Senior Member ![]() ![]() Joined: 26 July 2006 Status: Offline Points: 1672 |
![]() ![]() ![]() ![]() ![]() |
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 |
![]() ![]() ![]() ![]() ![]() |
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 |
![]() ![]() ![]() ![]() ![]() |
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 |