• 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
custom view won't update
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

custom view won't update


  • Subject: custom view won't update
  • From: H M <email@hidden>
  • Date: Sun, 9 Sep 2007 00:50:02 +0100

hello.

I have a window with a custom view and 3 sliders. the view is assigned to a custom class which is a subclass of NSView. when I change the size of the window, drawRect: is called, the view displays its stuff, no problem there. but: I want the view to update when any one of the sliders is moved. how do I do that? I've tried [self setNeedsDisplay], but that didn't work. I tried [self display], but that didn't work either. so I tried both, but the view still refuses to update when i move a slider. What am I doing wrong?

--
GPG Key ID: 92AD877F7E4E32B9
Fingerprint: 16B0 7DCD 3AB0 0C45 F5FD  581D 92AD 877F 7E4E 32B9


_______________________________________________

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


  • Follow-Ups:
    • Re: custom view won't update
      • From: Shawn Erickson <email@hidden>
  • Prev by Date: Re: Error message: NOT super-user
  • Next by Date: mouseDragged not working in NSSplitView subview
  • Previous by thread: Re: Error message: NOT super-user‏
  • Next by thread: Re: custom view won't update
  • Index(es):
    • Date
    • Thread