Skip to content

Latest commit

 

History

History
72 lines (57 loc) · 2.05 KB

console-cursor-info-str.md

File metadata and controls

72 lines (57 loc) · 2.05 KB
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
wincontypes/CONSOLE_CURSOR_INFO
wincon/CONSOLE_CURSOR_INFO
CONSOLE_CURSOR_INFO
wincontypes/PCONSOLE_CURSOR_INFO
wincon/PCONSOLE_CURSOR_INFO
PCONSOLE_CURSOR_INFO
\_win32\_console\_cursor\_info\_str
base.console\_cursor\_info\_str
consoles.console\_cursor\_info\_str
PreferredSiteName:MSDN
PreferredLib:/library/windows/desktop
0e71ce8c-e008-4bd7-922e-c44484b425ef
apiref
CONSOLE_CURSOR_INFO
WinCon.h
HeaderDef

CONSOLE_CURSOR_INFO structure

[!INCLUDE not-recommended-banner]

Contains information about the console cursor.

Syntax

typedef struct _CONSOLE_CURSOR_INFO {
  DWORD dwSize;
  BOOL  bVisible;
} CONSOLE_CURSOR_INFO, *PCONSOLE_CURSOR_INFO;

Members

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.

Requirements

   
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Header WinCon.h (include Windows.h)

See also

GetConsoleCursorInfo

SetConsoleCursorInfo