[Interest] win: can't trap WM_ENTER/EXITMENULOOP?

Scott Bloom scott at towel42.com
Tue Oct 26 01:26:29 CEST 2021


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-bounces at qt-project.org> On Behalf Of David M. Cotter
Sent: Monday, October 25, 2021 3:15 PM
To: Qt Interest <Interest at 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 at qt-project.org
https://lists.qt-project.org/listinfo/interest


More information about the Interest mailing list