Intel® Fortran Compiler Classic and Intel® Fortran Compiler Developer Guide and Reference

ID 767251
Date 6/24/2024
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

DISPLAYCURSOR

Graphics Function: Controls cursor visibility. This routine is only available for Windows.

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.