Page 1 of 1

Showing and hiding menu bar within built app

Posted: Mon Dec 22, 2008 9:24 pm
by gyroscope
Hi, is there some coding which would make the Menu Bar in a Mac RR app to be hidden, to only show when the mouse is within a certain distance from it, then to hide again when the mouse is outside of this certain distance, does anyone know please :?:

Posted: Tue Dec 23, 2008 12:37 am
by Obleo
you can use the hide menubar and show menubar bar commands

with The mouseLoc function. If the mouse pointer is x pixels from the top of the ScreenRect it could show the menubar and y pixels away could hide the menubar.

I have not tried it but can not see why it should not work.

Actually just poking around I also found the screenMouseLoc property witch may help with this.

Posted: Tue Dec 23, 2008 3:12 am
by gyroscope
Thanks Obleo, I obviously didn't have my thinking head on (I'm tending to misplace it more and more these days... :wink:)

I'll give that a whirl tomorrow.

:)