Syntax
EndOfWindow [Select]
EndOfWindow([Select])
Remarks
The EndOfWindow statement moves the insertion point or, if Select is nonzero, the active end of the selection (the end that moves when you press CTRL+SHIFT+
PAGE DOWN) to the lower-right corner of the contents currently visible in the document window.
The EndOfWindow() function behaves the same as the statement and also returns one of the following values.
Value | Explanation | |
0 (zero) | If the insertion point or the active end of the selection was not moved (that is, if it was already at the lower-right corner of the window) | |
–1 | If the insertion point or the active end of the selection was moved |
For an example, see StartOfWindow.
See Also
EndOfDocument, StartOfWindow