Top
NetCOBOL V11.0 CBL Subroutines User's Guide
FUJITSU Software

12.12 WIN_SET_MOUSE_SHAPE

This routine changes the shape of the mouse cursor.

Ex. "C:\WINDOWS\CURSORS\ARROW.CUR", "C:\WINDOWS\CURSORS\ARROW.ANI"

Specification

Parameter data definition
01 mouse-handle                               PIC X(4).
01 path-name-of-mouse-cursor-shape            PIC X(n).
01 length-of-path-name-of-mouse-cursor-shape  PIC 9(4) BINARY.
01 status-code                                PIC S9(4) COMP-5.
Calling format
CALL "WIN_SET_MOUSE_SHAPE"
    USING mouse-handle
          path-name-for-mouse-cursor-shape
          length-of-path-name-for-mouse-cursor-shape
    RETURNING status-code.

Interface

mouse-handle

Specifies the mouse-handle returned by CBL_INIT_MOUSE.

path-name-for-mouse-cursor-shape

Specifies the path name for the mouse cursor shape.

length-of-path-name-for-mouse-cursor-shape

Specifies the length of the path name for the mouse cursor shape.

Return code

The return code is set in the status-code specified in the RETURNING clause.

status-code
  • 0: Successful

  • Other than 0: Failure