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/27 12:02] – 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 ===== | ||
+ | |||
+ | * 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 ===== | ||
- | ==Parameters== | + | rc ([[USHORT]]) - return |
- | ;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: | Return code descriptions are: | ||
+ | |||
* 0 NO_ERROR | * 0 NO_ERROR | ||
* 355 ERROR_VIO_MODE | * 355 ERROR_VIO_MODE | ||
Line 21: | Line 27: | ||
* 465 ERROR_VIO_DETACHED | * 465 ERROR_VIO_DETACHED | ||
- | ==Example Code== | + | ===== Bindings ===== |
- | === C Binding=== | + | |
+ | |||
+ | ==== C Binding==== | ||
<code c> | <code c> | ||
#define INCL_VIO | #define INCL_VIO | ||
Line 33: | Line 42: | ||
USHORT | USHORT | ||
- | </ | + | </ |
+ | |||
+ | ====MASM Binding==== | ||
- | ===MASM Binding=== | ||
<code asm> | <code asm> | ||
EXTRN VioSetCurPos: | EXTRN VioSetCurPos: | ||
Line 46: | Line 56: | ||
Returns WORD | Returns WORD | ||
- | </ | + | </ |
- | ====== Note ====== | + | ===== Note ===== |
Text based on [[http:// | Text based on [[http:// |