Redrawing NSTableHeaderCells when on window activation or deactivation
Redrawing NSTableHeaderCells when on window activation or deactivation
- Subject: Redrawing NSTableHeaderCells when on window activation or deactivation
- From: Pete Yandell <email@hidden>
- Date: Wed, 11 Feb 2004 22:16:59 +1100
I'm trying to mimic the iTunes table column headers, in which the text
greys out whenever the window is not in the foreground. I've got a
table column header cell class that does the drawing, but I need the
headers to be redrawn whenever the window activates or deactivates.
Is there a simple way to do this? I can write something to intercept
the relevant window messages and pass them down, but I figure there's
probably a neater way given that many controls have this sort of
behaviour built in.
I have a feeling this is one of those times where I've missed something
obvious in the docs. :)
Pete Yandell
http://pete.yandell.com/
_______________________________________________
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.