title | description | author | ms.author | ms.topic | keywords | f1_keywords | MS-HAID | MSHAttr | ms.assetid | topic_type | api_name | api_location | api_type | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
CONSOLE_CURSOR_INFO structure |
Contains the size and visibility information about the about the console cursor. |
miniksa |
miniksa |
article |
console, character mode applications, command line applications, terminal applications, console api |
|
|
|
0e71ce8c-e008-4bd7-922e-c44484b425ef |
|
|
|
|
[!INCLUDE not-recommended-banner]
Contains information about the console cursor.
typedef struct _CONSOLE_CURSOR_INFO {
DWORD dwSize;
BOOL bVisible;
} CONSOLE_CURSOR_INFO, *PCONSOLE_CURSOR_INFO;
dwSize
The 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.
Note
While the dwSize value is normally between 1 and 100, under some circumstances a value outside of that range might be returned. For example, if CursorSize is set to 0 in the registry, the dwSize value returned would be 0.
bVisible
The visibility of the cursor. If the cursor is visible, this member is TRUE.
Minimum supported client | Windows 2000 Professional [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Header | WinCon.h (include Windows.h) |