advertisement

Article:
  Working With Bitmap Images; Document-Based Application Redux
Subject:   Some changes
Date:   2002-07-14 12:04:04
From:   blukens
Response to: Some changes

My solution to the poorly drawn scroll bars was to just change
[self setNeedsDisplay: YES];
to
[[[self superview] superview] setNeedsDisplay:YES];


The problem we had was that the original line just refreshes the imageview, so the scroll bars are being refreshed and therefore don't go away when they should. The new line sets the entire scrollview to be refreshed, which is exactly what we want.