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

Re: custom view won't update


  • Subject: Re: custom view won't update
  • From: Shawn Erickson <email@hidden>
  • Date: Sat, 08 Sep 2007 19:05:08 -0700


On Sep 8, 2007, at 4:50 PM, H M wrote:

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?

Who is getting the action event from the slider? Is it actually getting it? You check using the debugger?


-Shawn
_______________________________________________

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: H M <email@hidden>
References: 
 >custom view won't update (From: H M <email@hidden>)

  • Prev by Date: Re: Customize the disclosure triangles in NSOutlineView
  • Next by Date: Getting button binding to invoke an action
  • Previous by thread: custom view won't update
  • Next by thread: Re: custom view won't update
  • Index(es):
    • Date
    • Thread