Seems u havent understood my program or I have understood what u wanted.
I implemented auto hide like in taskbar in windows.

What I do is, initially using the single shot timer I capture the geometry of the menubar. This is a private member, so its value is retained. As soon as I set the geometry cordinated in menuBarRect, I hide the menubar. So u wont see a menubar initially.
When u move the mouse in the upper part of the window, where the menu is supposed to appear, I capture it, and show the menubar.

Did u try running the code ?? or u just walked thru manually ?? also isMenuOn variable is not needed. I was just trying with that variable, and forgot to delete it.

Also I havent seen your "trapezoidal menubar that appears on the top when you connect to Remote Desktop in Windows." so cant help u on that right now...

if u have problem in running my code, ask me....