I'm using CodeWarrior to build a MachO app with Carbon API's.
I have just succeeded in using BeginQDContextForApplicationDockTile()
and EndQDContextForApplicationDockTile() to overlay a visual alert on
my application's dock icon when updates occur in its error log.
However, the visual changes to not appear until I force the dock to
redraw with dock magnification. I cannot find an API to redraw the
dock. I got the idea from Apple's Mail program from its display of
the number of unread messages in its inbox, so there must be a way to
do it. I hope it is not a Cocoa only capability.
It is always important to practice good hygiene.
This is what I was missing. I need to call it right before
EndQDContextForApplicationDockTile();
QDFlushPortBuffer( theTilePort, NULL );
It works great.
Thanks,
Jeff
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden