Dusan Vujosevic wrote:
Under Wine, I can make the flying toolbar stick (even with my patch) by holding the mouse button down and sliding it out of the main toolbar. Once out of the toolbar, I can let up the mouse button without the toolbar going away. Once stuck, if I simply slide the mouse across the flying toolbar, it disappears. This does not happen under Windows.
That is true. If release the left mouse button anywhere else except over the toolbars the flyout will stick. The reason is that TOOLBAR_LButtonUp() doesn't get executed in that case and the WM_COMMAND is not sent. (Everything works perfectly under any Windows as you have noticed because Win32 doesn't send the WM_COMMAND as I said before).
I think you misunderstood my explanation. Once the menu is stuck and the button released, I slide the mouse into the flying menu and back out again, without pressing any mouse buttons. When the cursor leaves the flying menu, it disappears, but without calling TOOLBAR_LButtonUp(). This is the second behavior, which may not be related.
Unfortunately for me, my real work is once again interfering severely with the amount of time I have to spend on Wine :-(
I'd be all too happy to help. I will take off my own time to test & fix this. I'll try give you something over the weekend (patch).
But I will try to get in a couple of tests with ControlSpy with the TBSTYLE_DROPDOWN style, since it should not take much time, perhaps this weekend.
A suggestion I made a couple weeks ago would make things easier, I would think. That would be to duplicate your flying menus within ControlSpy. I don't know how easy that would be to implement, but once implemented, it would likely make debugging much easier.