no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
Next revision | |||
— | en:docs:fapi:viosetcurpos [2018/09/01 09:59] – created prokushev | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | |||
+ | This call sets the cursor' | ||
+ | |||
+ | ==Syntax== | ||
+ | | ||
+ | |||
+ | ==Parameters== | ||
+ | ;Row (USHORT) - input : New cursor row position, 0 is the top row. | ||
+ | ;Column (USHORT) - input : New cursor column position, 0 is the leftmost column. | ||
+ | ;VioHandle (HVIO) - input : This must be zero unless the caller is a Presentation Manager application, | ||
+ | |||
+ | ==Return Code== | ||
+ | rc (USHORT) - return | ||
+ | Return code descriptions are: | ||
+ | * 0 NO_ERROR | ||
+ | * 355 ERROR_VIO_MODE | ||
+ | * 358 ERROR_VIO_ROW | ||
+ | * 359 ERROR_VIO_COL | ||
+ | * 436 ERROR_VIO_INVALID_HANDLE | ||
+ | * 465 ERROR_VIO_DETACHED | ||
+ | |||
+ | ==Example Code== | ||
+ | === C Binding=== | ||
+ | <PRE> | ||
+ | #define INCL_VIO | ||
+ | |||
+ | USHORT | ||
+ | |||
+ | USHORT | ||
+ | USHORT | ||
+ | HVIO | ||
+ | |||
+ | USHORT | ||
+ | </ | ||
+ | |||
+ | ===MASM Binding=== | ||
+ | <PRE> | ||
+ | EXTRN VioSetCurPos: | ||
+ | INCL_VIO | ||
+ | |||
+ | PUSH | ||
+ | PUSH | ||
+ | PUSH | ||
+ | CALL | ||
+ | |||
+ | Returns WORD | ||
+ | </ | ||
+ | |||
+ | |||
+ | |||
+ | ====== Note ====== | ||
+ | |||
+ | Text based on [[http:// | ||
+ | |||
+ | {{page> | ||
+ | |||