Regenerating the dock image of a miniaturized NSWindow
Regenerating the dock image of a miniaturized NSWindow
- Subject: Regenerating the dock image of a miniaturized NSWindow
- From: Arjan van Leeuwen <email@hidden>
- Date: Fri, 26 Dec 2014 10:50:59 +0100
Hi,
After I have called [NSWindow miniaturize], is it possible to refresh the
miniaturized dock image somehow? I have changing contents in a window, and
would like to update the miniaturization to reflect the actual contents.
I've found [NSWindow setMiniwindowImage], but this only allows me to set a
completely custom image. I want to refresh the content of the image with
the current content, in such a way that it still looks like the standard
minimized window (with the application icon in the bottom-right corner, for
example). If I simply use a snapshot of my own application and use that
with setMiniwindowImage, it doesn't look the same.
Alternatively, if there's a function to generate the dock image, I could
use that with setMiniWindowImage.
Any ideas?
Arjan
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden