_WPutChr( ) API Library Routine

See Also   Example

Displays one character char at the output position in the specified window and in the current color.

Syntax

void _WPutChr(WHANDLE wh, int char)
WHANDLE wh;            /* Window handle. */
int char;                     /* Character to display. */

Remarks

Special characters such as newline, carriage return, and bell are treated as control characters and aren't displayed on the screen.

To show the character that corresponds to one of these control characters, add 256 to the value of the character.

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.