_EdGetPos( ) API Library Routine

See Also   Example

Returns the current offset position of the insertion point in the file in the specified editing window.

Syntax

EDPOS _EdGetPos(WHANDLE wh)
WHANDLE wh;            /* Handle of editing window. */

Remarks

If text is selected, _EdGetPos( ) returns the offset position of the anchor.

For more information on how to create an API library and integrate it with Visual FoxPro, see Chapter 28, Accessing the Visual FoxPro API, in the Programmer's Guide.