MidiVirtualKeyboard.GraphicalSettingsSet method |
|
Remarks
Modifies graphical settings for the given virtual piano keyboard. Current settings can be modified through the MidiVirtualKeyboard.GraphicalSettingsGet 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] MidiVirtualKeyboard.GraphicalSettingsSet ( hWndKeyboard as IntPtr, settings as MIDI_VIRTUAL_KEYBOARD_SETTINGS ) as enumDjcErrorCodes |
[C#] public enumDjcErrorCodes MidiVirtualKeyboard.GraphicalSettingsSet ( IntPtr hWndKeyboard, MIDI_VIRTUAL_KEYBOARD_SETTINGS settings ); |
[C++] public: enumDjcErrorCodes MidiVirtualKeyboard.GraphicalSettingsSet ( IntPtr hWndKeyboard, MIDI_VIRTUAL_KEYBOARD_SETTINGS settings ); |
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 containing graphical settings to apply to the keyboard. |
Return value
Value |
Meaning |
|
|
Negative value |
An error occurred. Check the LastError property value in order to see the last error. |
enumDjcErrorCodes.ERR_DJC_NOERROR (0) |
The method call was successful. |