WindowScrollLines

HC GUI programming Window P-S WindowScrollLines
WindowScreenToClient WindowScrollPages

bool WindowScrollLines lines


Scrolls the window by the given number of lines down (if lines is positive) or up.

Return value: Returns true if the window was scrolled, false if it was already on top/bottom and nothing was done.

Remarks: This function is currently only implemented under MSW and wxTextCtrl under wxGTK (it also works for wxScrolledWindow derived classes under all platforms).

References:

WindowScreenToClient WindowScrollPages