Intel® Fortran Compiler 18.0 Developer Guide and Reference

DISPLAYCURSOR (W*S)

Graphics Function: Controls cursor visibility.

Module

USE IFQWIN

result = DISPLAYCURSOR (toggle)

toggle

(Input) INTEGER(2). Constant that defines the cursor state. Has two possible values:

  • $GCURSOROFF - Makes the cursor invisible regardless of its current shape and mode.

  • $GCURSORON - Makes the cursor always visible in graphics mode.

Results

The result type is INTEGER(2). The result is the previous value of toggle.

Cursor settings hold only for the currently active child window. You need to call DISPLAYCURSOR for each window in which you want the cursor to be visible.

A call to SETWINDOWCONFIG turns off the cursor.

See Also