Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Hiding the Dock?



In order to make the changes take effect, we'll have to kill the dock process. We've tried this with no ill side-effects; so we assume its safe (?).

You shouldn't be killing the Dock it does a lot more than just show the applications at the side. Certain system events will no longer work if you kill the dock which comprimises system stability.


If and only if you REALLY need to hide the dock when your application is frontmost then use the supported APIs intended to do this, specifically: SetSystemUIMode(). This API is a carbon call and is documented extensively in the Creating Kiosks technote:
http://developer.apple.com/technotes/tn2002/tn2062.html


Specifically for your use look at Commonly asked question #2 "2) How do I disable/suppress the Dock?".

At runtime you can call this API to show and hide the dock when your application is frontmost. Note this API is intended ONLY for kiosk applications for use in a verticle market (please see comment at beginning of the technote). If your application is a verticle market application or a kiosk application this solution might be the one for you.

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden
References: 
 >Hiding the Dock? (From: Jeremy Wood <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.