Is it possible to hide the doc icon programmatically

Posted by Unicorn on Stack Overflow See other posts from Stack Overflow or by Unicorn
Published on 2010-05-14T09:10:36Z Indexed on 2010/05/14 9:14 UTC
Read the original article Hit count: 247

Filed under:
|
|
|

Is it possible to hide doc icon programmatically on demand. I know one way by which defining property "Application is agent (UIElement)" in plist we make the cocoa app as user agent. But this result in hiding the doc icon permanently.

I am looking for a way where i can control visibility of doc icon. Any idea ?

© Stack Overflow or respective owner

Related posts about osx

Related posts about cocoa