Copyright © 2013-2015 MultiMedia Soft

MidiDjConsole.ProfileItemTypeGet method

Previous pageReturn to chapter overviewNext page

Remarks

 

Obtains the type of physical control for an item available inside the profile of the DJ Console.

 

For further details about interfacing with MIDI DJ Consoles see the MidiDjConsole object section and the How to manage MIDI DJ consoles tutorial.

 

 

Syntax

 

[Visual Basic]

control.MidiDjConsole.ProfileItemTypeGet (

strItemName as String,

nItemType as enumDjConsoleItemType

) as enumDjcErrorCodes


 

[C++]

short control.MidiDjConsole.ProfileItemTypeGet (

BSTR strItemName,

short *nItemType

);


 

Parameter

Description

 

 

strItemName

String containing the name of the item whose type must be retrieved.

nItemType

Reference that, on return from the method call, will contain the type of the item.

Supported values are the following:

Mnemonic constant

Value

Meaning

DJC_ITEM_TYPE_BUTTON

0

The item is a push button control.

DJC_ITEM_TYPE_BUTTON_WITH_LED

1

The item is a button control with an embedded led are enumerated.

DJC_ITEM_TYPE_RANGE

2

The item is a range control.

DJC_ITEM_TYPE_LED

3

The item is a led control or a VFD (Vacuum Fluorescent Display) symbol driven as a led.

DJC_ITEM_TYPE_DISPLAY

4

The item is a VFD (Vacuum Fluorescent Display) element not driven as a simple led, for example the track number or the position of the track.

 

 

Return value

 

Value

Meaning

 

 

enumDjcErrorCodes.ERR_DJC_NOERROR (0)

The call was successful.

Negative value

An error occurred: see the LastError property for further error details or for a list of the possible error values.