006
01.04.2004, 18:52 Uhr
Bruder Leif
dances with systems (Operator)
|
Moin!
Die MSDN meint dazu:
The SetConsoleCursorInfo function sets the size and visibility of the cursor for the specified console screen buffer.
BOOL SetConsoleCursorInfo( HANDLE hConsoleOutput, const CONSOLE_CURSOR_INFO* lpConsoleCursorInfo );
Parameters hConsoleOutput [in] Handle to a console screen buffer. The handle must have the GENERIC_READ access right. For more information, see Console Buffer Security and Access Rights. lpConsoleCursorInfo [in] Pointer to a CONSOLE_CURSOR_INFO structure that provides the new specifications for the console screen buffer's cursor. Return Values If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero. To get extended error information, call GetLastError.
The CONSOLE_CURSOR_INFO structure contains information about the console cursor.
typedef struct _CONSOLE_CURSOR_INFO { DWORD dwSize; BOOL bVisible; } CONSOLE_CURSOR_INFO, *PCONSOLE_CURSOR_INFO; Members dwSize Percentage of the character cell that is filled by the cursor. This value is between 1 and 100. The cursor appearance varies, ranging from completely filling the cell to showing up as a horizontal line at the bottom of the cell. bVisible Visibility of the cursor. If the cursor is visible, this member is TRUE. -- Mit 40 Fieber sitzt man nicht mehr vor dem PC. Man liegt im Bett. Mit dem Notebook. |