Copyright © 2013-2014 MultiMedia Soft

GraphicItemsMouseMoveEnable method

Previous pageReturn to chapter overviewNext page

Remarks

 

Enables/disables the possibility to move graphic items through the mouse.

 

For details about graphic items management on the waveform analyzer refer to the How to add graphic items to the Waveform analyzer section.

 

 

Syntax

 

[Visual Basic]

control.GraphicItemsMouseMoveEnable (

nGraphicItemsMask as enumGraphicItemMaskValues,

bEnable as enumBoolean

) as enumWanErrorCodes


 

[C++]

short control.GraphicItemsMouseMoveEnable (

short nGraphicItemsMask,

short bEnable

);


 

 

Parameter

Description

 

 

nGraphicItemsMask

Combination of values determining the mask of graphic items whose movement through mouse we want enable or disable.

Can be a combination of the following values:

Mnemonic value

Value

Meaning

MASK_GRAPHIC_ITEM_VERTICAL_LINES

1

The setting is applied to vertical lines

MASK_GRAPHIC_ITEM_HORIZONTAL_LINES

2

The setting is applied to horizontal lines

bEnable

Boolean value that specifies if mouse movement of the the graphic item must be enabled or disabled.

Supported values are the following:

Value

Meaning

false

Moving of given graphic items through the mouse is disabled

true (default)

Moving of given graphic items through the mouse is enabled

 

 

Return value

 

Value

Meaning

 

 

Negative value

An error occurred (see the LastError property for further error details)

enumWanErrorCodes.ERR_WAN_NOERROR (0)

The method call was successful.