• 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
main window notification
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

main window notification


  • Subject: main window notification
  • From: Tobias Hermann <email@hidden>
  • Date: Mon, 26 May 2003 13:42:00 +0200

hi!

I wonder how all the controls redraw themselves when the window resigns the main status. Do they listen to notifications ? Or is there a simpler way.

The point is: I want to draw a selected part of my custom control in gray instead of blue, when the window is not the main window, like every other cocoa control does.

But my custom view does not get a display method when the window resigns the main status.

Does every view that wants to act like that have to add itself to the notification center? Or is there a better way like simply setting a NSView flag or overriding a method of NSView that I did not notice ?

Thanx in advance!

Tobi
_______________________________________________
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.

  • Prev by Date: Package saving
  • Next by Date: [ANN] SquashCounter
  • Previous by thread: Package saving
  • Next by thread: [ANN] SquashCounter
  • Index(es):
    • Date
    • Thread