RE: ScrollView redraw needed
RE: ScrollView redraw needed
- Subject: RE: ScrollView redraw needed
- From: "Mradul Mandhanya" <email@hidden>
- Date: Mon, 3 Oct 2005 14:13:29 +0530
- Thread-topic: ScrollView redraw needed
Not very clear what u want to do but I assume that u want to redraw the
content inside the scroll view ie its document view.
If yes try this
[[scrollViewObject documentView] setNeedsDisplay:TRUE];
Regards,
Mradul Mandhanya
If you want something you've never had, Do something you've never
done....!!!!
-----Original Message-----
From: cocoa-dev-bounces+mmandhanya=email@hidden
[mailto:cocoa-dev-bounces+mmandhanya=email@hidden] On
Behalf Of Jerry Brace
Sent: Sunday, October 02, 2005 10:10 PM
To: Cocoa Dev
Subject: ScrollView redraw needed
I have some code that dynamically changes the positions of some
controls in a NSScrollView. The problem is that it doesn't redraw
when I do this (you can still see the control in the old and new
positions). If I scroll down past the controls and scroll back up it
forces the app to redraw the contents correctly.
I'd like to know how to call a redraw/research after the fields are
re-positioned.
Many thanks,
Jerry
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden