Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| en:docs:fapi:viosetcurpos [2021/08/20 08:24] – prokushev | en:docs:fapi:viosetcurpos [2021/09/19 04:06] (current) – prokushev | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| {{page> | {{page> | ||
| + | ====== VioSetCurPos ====== | ||
| + | |||
| This call sets the cursor' | This call sets the cursor' | ||
| - | ==Syntax== | + | ===== Syntax ===== |
| - | | + | <code c> |
| + | VioSetCurPos (Row, Column, VioHandle) | ||
| + | </ | ||
| + | ===== Parameters ===== | ||
| - | ==Parameters== | + | * Row ([[USHORT]]) - input : New cursor row position, 0 is the top row. |
| - | ;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== | ||
| - | rc (USHORT) - return | ||
| Return code descriptions are: | 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== | + | * 0 NO_ERROR |
| - | === C Binding=== | + | * 355 ERROR_VIO_MODE |
| - | <PRE> | + | * 358 ERROR_VIO_ROW |
| + | * 359 ERROR_VIO_COL | ||
| + | * 436 ERROR_VIO_INVALID_HANDLE | ||
| + | * 465 ERROR_VIO_DETACHED | ||
| + | |||
| + | ===== Bindings ===== | ||
| + | |||
| + | |||
| + | ==== C Binding==== | ||
| + | |||
| + | <code c> | ||
| #define INCL_VIO | #define INCL_VIO | ||
| Line 33: | Line 42: | ||
| USHORT | USHORT | ||
| - | </PRE> | + | </code> |
| + | |||
| + | ====MASM Binding==== | ||
| - | ===MASM Binding=== | + | <code asm> |
| - | <PRE> | + | |
| EXTRN VioSetCurPos: | EXTRN VioSetCurPos: | ||
| INCL_VIO | INCL_VIO | ||
| Line 46: | Line 56: | ||
| Returns WORD | Returns WORD | ||
| - | </PRE> | + | </code> |
| - | ====== Note ====== | + | ===== Note ===== |
| Text based on [[http:// | Text based on [[http:// | ||




