Copyright © 2013-2015 MultiMedia Soft

MidiDjConsole.ProfileTypedItemNameGet method

Previous pageReturn to chapter overviewNext page

Remarks

 

Obtains the name of a specific item contained 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.ProfileTypedItemNameGet (

nItemType as enumDjConsoleItemType,

nIndex as Long

) as String


 

[C++]

BSTR control.MidiDjConsole.ProfileTypedItemNameGet (

short nItemType,

long nIndex

);


 

Parameter

Description

 

 

nItemType

Specifies the type of item whose name must be obtained.

Supported values are the following:

Mnemonic constant

Value

Meaning

DJC_ITEM_TYPE_ALL

-1

Obtains the name of a control without distinction of type.

This option has the same effect of a call to the MidiDjConsole.ProfileItemNameGet method.

DJC_ITEM_TYPE_BUTTON

0

Obtains the name of a push button control.

DJC_ITEM_TYPE_BUTTON_WITH_LED

1

Obtains the name of a button control with an embedded led are enumerated.

DJC_ITEM_TYPE_RANGE

2

Obtains the name of a range control.

DJC_ITEM_TYPE_LED

3

Obtains the name of a led control or VFD (Vacuum Fluorescent Display) symbol.

DJC_ITEM_TYPE_DISPLAY

4

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

nIndex

Number representing the zero-based index of the item whose name must be obtained. Existing items of a specific type can be enumerated through the MidiDjConsole.ProfileTypedItemCountGet method.

 

 

Return value

 

Value

Meaning

 

 

Empty string

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

Valid string

String containing the name of the item.