Re: custom view won't update
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