DM_GETCURSORSIZE

Far Manager

DM_GETCURSORSIZE

The DM_GETCURSORSIZE message is sent to the dialog handler to retrieve the cursor size in edit lines or in DI_USERCONTROL controls.

Param1

The ID of the dialog item for which you want to retrieve the cursor position.

Param2

0

Return

The high word is the cursor size (from 0 to 100, as used in the CONSOLE_CURSOR_INFO structure), the low word is the cursor visibility flag (1 - the cursor is visible, 0 - the cursor is hidden).

Controls

ControlDescription
DI_COMBOBOX combined list (without DIF_DROPDOWNLIST flag)
DI_EDIT edit line
DI_FIXEDIT fixed-size input field
DI_PSWEDIT password input field
DI_USERCONTROL custom (defined by programmer) control

Remarks

Example

See also: