Re: Updating Minimized Windows
Re: Updating Minimized Windows
- Subject: Re: Updating Minimized Windows
- From: Stéphane Sudre <email@hidden>
- Date: Fri, 25 Oct 2002 18:04:11 +0200
On Friday, October 25, 2002, at 05:09 PM, Stephan Huber wrote:
Hi,
--On Freitag, 25. Oktober 2002 2:18 Uhr -0500 Mark Levin
<email@hidden> wrote:
I have found that the miniwindow image does not get updated until you
call setMiniwindowTitle.
I tried both suggestions, but none of them worked for me. It would
sufficient for me to update the miniwindow according to the fullsized
window, I don't need extra drawing. I tested setting the
application-icon with my image and this works fine, the problem with
setminiWindowImage remains.
Is there any sample-code available?
You're suffering from one problem with the Cocoa documentation.
The Release notes are not merged with the documentation.
From the AppKit older release note:
[...]
NSWindow
[...]
There is a user default, AppleDockIconEnabled, to enable setting the
image in a minimized window tile with -[NSWindow setMiniwindowImage:].
The image will be scaled as necessary to fit the tile. This behavior is
off by default, so you must set AppleDockIconEnabled to YES if you want
to enable this behavior. Our intent is to enable this behavior in the
next release; however, in most cases applications might not want to set
the miniwindow icon explicitly.
[...]
IIRC, the difficult part is then to find whether AppleDockIconEnabled
is a String or a Number.
_______________________________________________
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.