You can change the default window setting so that the output functions automatically place the physical cursor at the virtual cursor location after it finishes writing a string. To set the place physical cursor option for the window, use sw_opt():
|
where state is ON or OFF and wnp is the window you want to set the CSRPLACE option for. To turn this option ON, you would call:
|
When physical cursor placement is turned ON, string output functions will place the blinking physical cursor at the location of the window's virtual cursor.
To disable this option, call:
|