• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: setMenuBarVisible: with animation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: setMenuBarVisible: with animation


  • Subject: Re: setMenuBarVisible: with animation
  • From: Ryan Britton <email@hidden>
  • Date: Sun, 11 Jun 2006 08:16:03 -0700

Full Screen:
SetSystemUIMode(kUIModeAllHidden, kUIOptionAutoShowMenuBar);

Normal:
SetSystemUIMode(kUIModeNormal, 0);


This will do the dock as well, but generally that is desired behavior in full screen.



On Jun 11, 2006, at 3:31 AM, Keith Blount wrote:

Hello,

I have a full screen window that hides the menu bar
using -setMenuBarVisible:. However, what I would like
to do is have it so that if the user puts their cursor
at the top of the screen, the menu bar slides down
(much as it does in iPhoto's full screen mode). I
guess the best way of doing most of this is to use a
tracking rect at the top of the window, and when the
mouse enters that tracking rect, show the menu bar.
However, -setMenuBarVisible: merely toggles the menu
bar on or off; I want to animate it so that the menu
bar slides down into view, and then slides back up
again.

Does anybody have any idea how to do this? I suppose
one way would be to somehow capture an image of the
menu bar and fake it, sliding in and out the image and
then replacing it with the actual menu bar, but I
wondered if there were any better solutions? Does
anybody know how iPhoto does it (or Jer's Novel Writer
at http://www.jerssoftwarehut.com or WriteRoom at
http://www.hogbaysoftware.com for that matter...)?

Many thanks in advance,
Keith

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: setMenuBarVisible: with animation
      • From: Keith Blount <email@hidden>
References: 
 >setMenuBarVisible: with animation (From: Keith Blount <email@hidden>)

  • Prev by Date: Runtime Programmatic Entity Switching in CoreData
  • Next by Date: Re: Console error message: failed to load window nib file
  • Previous by thread: setMenuBarVisible: with animation
  • Next by thread: Re: setMenuBarVisible: with animation
  • Index(es):
    • Date
    • Thread