Forum
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.
Subject |
Author |
Date |
|
Christian Dangl
|
Oct 30, 2015 - 10:10 AM
|
We have a CExtPopupInplaceListBox in the RibbonBar. It works well as long as the window is big enough to always display the dropdown control. But if the Window gets smaller, the ribbon sections compact one after the other. Now if I want something from that drop down control, I first click the section name. This opens a small window below the ribbon bar which contains the dropdown control. I can open the list, but when I click an item, the control doesn’t receive the event, but instead closes and disapears with the window containing it. I have breakpoints in ExtPopupInplaceListBox::OnLButtonDown() and CExtPopupInplaceListBox::OnLButtonUp(). They are visited, when the control is visible on the ribbon bar, but when it is on the temporary separate window below, the breakpoin ts are never hit.
|
|
Christian Dangl
|
Nov 4, 2015 - 4:58 AM
|
To whom it may concern, I solved the problem by slightly reordering the code in CExtRibbonPopupMenuWnd::OnHookSpyMouseClickMsg(). Essentially I want the return false in IsMenuTracking() to happen before the DestroyWindow() in !bInnerPageClick. Rgds Richard
|
|