Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
en:docs:fapi:viosetcurpos [2018/09/01 09:59] – created prokushev | en:docs:fapi:viosetcurpos [2021/09/19 04:06] (current) – prokushev | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | {{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 32: | Line 42: | ||
USHORT | USHORT | ||
- | </PRE> | + | </code> |
+ | |||
+ | ====MASM Binding==== | ||
- | ===MASM Binding=== | + | <code asm> |
- | <PRE> | + | |
EXTRN VioSetCurPos: | EXTRN VioSetCurPos: | ||
INCL_VIO | INCL_VIO | ||
Line 45: | Line 56: | ||
Returns WORD | Returns WORD | ||
- | </PRE> | + | </code> |
- | ====== Note ====== | + | ===== Note ===== |
Text based on [[http:// | Text based on [[http:// |