Re: Fullscreen window after hiding Dock works in 10.4 but not 10.3
Re: Fullscreen window after hiding Dock works in 10.4 but not 10.3
- Subject: Re: Fullscreen window after hiding Dock works in 10.4 but not 10.3
- From: Ron Fleckner <email@hidden>
- Date: Wed, 3 Aug 2005 19:42:41 +1000
On 03/08/2005, at 11:17 AM, Crichlow, Eric"
<email@hidden> wrote:
I've tried 2 different ways of hiding the Dock while my app is
running,
NSMenu's setMenuBarVisible call, and SetSystemUIMode. In both
cases, if I
make the call and then try to create a full screen window, even if the
window is created several seconds later, after other processing is
done, the
Dock is hidden, but the window still comes up and won't cover the
area of
the screen where the Dock had been located.
This is the case with 10.3, but works fine in 10.4.
I've seen a couple of other people ask questions regarding this
issue a
fairly long time ago, but no one ever seemed to have a definitive
response.
Is there such a definitive response nowadays?
Failing the ability to make the code work either way I'm currently
trying, is there a way to programatically turn Dock autohiding on?
Again,
I've seen a couple of people ask this question, and the only
suggestions
I've seen were to try to Applescript it, but from what I read that
never
seemed to work for anyone.
...Thanx...
...Eric...
Eric,
I don't know if this will help, but when I want a full screen window,
I set the window's style mask to NSBorderlessWindowMask and then it's
level to NSScreenSaverWindowLevel. IIRC, this worked on 10.3, too.
I've never even thought about programatically hiding the dock or menu
bar. When my app runs, it's menu items still work via keyboard
shortcuts (if needed) and the dock remains hidden, whether it was
already hidden or not. I don't know if this is a kosher thing to do,
but it works for me, so far anyway.
Ron
_______________________________________________
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