imaqSetToolContextSensitivity

NI Vision for LabWindows/CVI Function

imaqSetToolContextSensitivity

Usage

int imaqSetToolContextSensitivity(int sensitive);

Purpose

Enable or disable the context sensitivity for all the tools.

Parameters

Name

Type

Description

sensitive int Set value to TRUE to enable context-sensitive tool selection. Set value to FALSE to disable context-sensitive tool selection.

Return Value

Type

Description

int On success, this function returns a non-zero value. On failure, this function returns 0. To get extended error information, call imaqGetLastError().