Copyright © 2013-2014 MultiMedia Soft

MidiVirtualKeyboard.GraphicalSettingsGet method

Previous pageReturn to chapter overviewNext page

Remarks

 

Retrieves the current graphical settings for the given virtual piano keyboard. Settings can be modified through the MidiVirtualKeyboard.GraphicalSettingsSet method.

 

For further details about the use of the virtual MIDI keyboard see the MidiVirtualKeyboard object section and the How to manage the virtual MIDI piano keyboard tutorial.

 

 

Syntax

 

[Visual Basic]

control.MidiVirtualKeyboard.GraphicalSettingsGet (

hWndKeyboard as OLE_HANDLE,

pParamData as Long

) as enumDjcErrorCodes


 

[C++]

short control.MidiVirtualKeyboard.GraphicalSettingsGet (

OLE_HANDLE hWndKeyboard,

void *pParamData

);


 

 

 

Parameter

Description

 

 

hWndKeyboard

Handle of the virtual keyboard as returned by the call to the MidiVirtualKeyboard.Create method

pParamData

Address of a data structure of type MIDI_VIRTUAL_KEYBOARD_SETTINGS that receives in output graphical settings of the keyboard.

 

 

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.