• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Regenerating the dock image of a miniaturized NSWindow
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Regenerating the dock image of a miniaturized NSWindow


  • Subject: Re: Regenerating the dock image of a miniaturized NSWindow
  • From: Arjan van Leeuwen <email@hidden>
  • Date: Fri, 26 Dec 2014 11:25:13 +0100

I found that I can use [NSDockTile display] to refresh the icon, and it
works!

Arjan

On Fri, Dec 26, 2014 at 10:50 AM, Arjan van Leeuwen <email@hidden>
wrote:

> 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


References: 
 >Regenerating the dock image of a miniaturized NSWindow (From: Arjan van Leeuwen <email@hidden>)

  • Prev by Date: Regenerating the dock image of a miniaturized NSWindow
  • Next by Date: NSVisualEffectView & NSVisualEffectBlendingModeBehindWindow & transparency
  • Previous by thread: Regenerating the dock image of a miniaturized NSWindow
  • Next by thread: Re: Regenerating the dock image of a miniaturized NSWindow
  • Index(es):
    • Date
    • Thread