_EdSetEnv( ) API Library Routine

See Also   Example

Determines various editor settings.

Syntax

int _EdSetEnv(WHANDLE wh, *EDENV theEdEnv)
WHANDLE wh;            /* Handle of editing window. */
*EDENV theEdEnv;         /* Editor settings. */

Remarks

For the structure of *EDENV, see _EdGetEnv( ).

1 is returned if called in a Command or Editor session, otherwise 0 is returned.

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.


Send feedback to MSDN.Look here for MSDN Online resources.