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