possible to programmatically hide dock icon?
possible to programmatically hide dock icon?
- Subject: possible to programmatically hide dock icon?
- From: Nathan Lamont <email@hidden>
- Date: Fri, 17 May 2002 14:59:52 -0400
I understand that it's possible to hide the dock icon with the
NSUIElement key in an application's info.plist dictionary, and that an
application's icon in the dock can be manipulated with [NSApplication
setApplicationIconImage].
I would like to have a user-controllable option for hiding my
application's icon in the dock. I can do this by changing the
NSUIElement object in the application's info.plist at runtime, so the
change takes effect next launch, but I'd like to be able to:
- have the change take effect immediately without quitting and launching
the application
- still have a menu bar for my application, whether or not it has a dock
icon
I tried without success calling setApplicationIconImage with nil. Is
what I want possible?
< Nathan Lamont / www.biggerplanet.com >
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.