LabWindows/CVI

GCC_SetCursorName

int GCC_SetCursorName (GraphCursorCtrlHandle graphCursorControl, int cursorNumber, char cursorName[]);

Purpose

This function sets the name of the specified cursor in the graph cursor control.

Parameters

Input
Name Type Description
graphCursorControl GraphCursorCtrlHandle The handle to the graph cursor control returned by GCC_New.
cursorNumber int The number of the cursor whose name will be set.
cursorName char [] The new name of the specified cursor. You can pass NULL or an empty string "" to clear the name.

Return Value

Name Type Description
result int The return value of the function. User interface error codes as documented in userint.h are returned.

Additional Information

Library: Graph Cursor Control

Include file: custctrl\graphcursors.h

LabWindows/CVI compatibility: LabWindows/CVI 6.0 and later

Example

Refer to userint\custctrl\graphcursors\graphcursorctrl.cws for an example of using the GCC_SetCursorName function.