 |
SetConsoleCursorPosition ..msdn Add comment W32 Constants Translate this page |
 |
 |
|
The SetConsoleCursorPosition function sets the cursor position in the specified console screen buffer. |
 |
 |
| Code examples: |
 |
|
|
 |
 |
| Declaration: |
 |
 |
BOOL SetConsoleCursorPosition(
HANDLE hConsoleOutput,
COORD dwCursorPosition
);
|
 |
 |
 |
| FoxPro declaration: |
 |
 |
DECLARE INTEGER SetConsoleCursorPosition IN kernel32;
INTEGER hConsoleOutput,;
SHORT x,;
SHORT y
|
 |
 |
 |
| Parameters: |
 |
hConsoleOutput
[in] Handle to a console screen buffer.
dwCursorPosition
[in] A COORD structure that specifies the new cursor position. |
 |
 |
| Return value: |
 |
| If the function succeeds, the return value is nonzero. |
 |
 |
| My comment: |
 |
Normally I would declare COORD dwCursorPosition as STRING @dwCursorPosition. It did not work this way. Fortunately SHORT, SHORT does the job.
See also: GetConsoleCursorInfo, GetConsoleScreenBufferInfo, ReadConsole, WriteConsole. |
 |
 |
| Word Index links for the SetConsoleCursorPosition : |
 |
|
|
 |
 |
| Translate this page: |
 |
|
 |
 |
| • |
 |
| Created: | 2004-11-10 09:30:03 | | Modified: | 2004-11-10 09:34:46 | Visited in last 7 days: 20 |