- Rect r =
- {
- (short) hiRect.origin.y, (short) hiRect.origin.x,
- (short) (hiRect.origin.y + hiRect.size.height),
- (short) (hiRect.origin.x + hiRect.size.width)
- };
-
- RgnHandle updateRgn = NewRgn();
- RectRgn( updateRgn, &r );
- HIViewSetNeedsDisplayInRegion( (HIViewRef) win->GetHandle(), updateRgn, true );
- DisposeRgn( updateRgn );