Ok.. here is what I came up with 😊

https://github.com/scottaronbloom/SABUtils/blob/master/MenuBarEx.cpp
and 
https://github.com/scottaronbloom/SABUtils/blob/master/MenuBarEx.h

Simply promote your menuBar in QtDesigner to CMenuBarEx or instantiate it 
rather than QMenuBa if you create the mainwindow by hand.

Then connect to the two new signals in CMenuBarEx and you are good to go.

Let me know if you have any questions.. To be fair, its not fully vetted. But 
it works for me 😊

Scott

-----Original Message-----
From: Interest <interest-boun...@qt-project.org> On Behalf Of David M. Cotter
Sent: Monday, October 25, 2021 3:15 PM
To: Qt Interest <Interest@qt-project.org>
Subject: Re: [Interest] win: can't trap WM_ENTER/EXITMENULOOP?

> Ill poke around, Its definitely doable
cool, thanks!

-dave

_______________________________________________
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest
_______________________________________________
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest

Reply via email to