previous up next     contents index
Next: wxSnipAdmin::SetCaretOwner Up: wxSnipAdmin: wxObject Previous: wxSnipAdmin::Resized

wxSnipAdmin::ScrollTo

Bool ScrollTo (wxSnip *snip, float localx, float localy, float w, float h, Bool refresh, int bias = 0)

Causes the owning buffer to scroll the display so that the given region of the specified snip is visible. localx and localy are relative to the top-left of the snip.

The the entire region does not fit in the visible area, then bias specifies which end of the range should be made visible; -1 means the top-left, and 1 means the bottom-right.



PLT