BeMDI SDK

  CZOrderedViewManager

CZOrderedViewManager::Z_ViewPositionChanged
Update clipping after a view was resized or moved.
virtual void Z_ViewPositionChanged(CZOrderedView *view, BRect oldPos, BRect newPos, bool redrawRevealed=false);


Parameters
oldPosPosition of the view before it was resize or moved. In screen coordiantes.
newPosNew position of the view. In screen coordiantes. If this method is called, because a view was hidden or closed 'oldPos' and 'newPos' should both contain the position before the view was modified.
redrawRevealedIf set to true the revealed areas are invalidated.


Remarks
Called to recalculate clipping for a view that moved or was resized. It is also called by Z_UpdateClipping to update the clipping when a view was hidden or closed.

  Top


© 2000 by 3rd-evolution