MIDI.KeyboardGraphicalSettingsSet method |
|
Remarks
Modifies graphical settings for the given virtual piano keyboard. Current settings can be modified through the MIDI.KeyboardGraphicalSettingsGet method.
For further details about the use of MIDI protocol see the MIDIMan class section and the How to deal with MIDI protocol tutorial.
Syntax
[Visual Basic] Public Function KeyboardGraphicalSettingsSet ( hWndKeyboard as IntPtr, settings as MIDI_KEYBOARD_SETTINGS ) as enumErrorCodes |
[C#] public enumErrorCodes KeyboardGraphicalSettingsSet ( IntPtr hWndKeyboard, MIDI_KEYBOARD_SETTINGS settings ); |
[C++] public: enumErrorCodes KeyboardGraphicalSettingsSet ( IntPtr hWndKeyboard, MIDI_KEYBOARD_SETTINGS settings ); |
Parameter |
Description |
|
|
hWndKeyboard |
Handle of the virtual keyboard as returned by the call to the MIDI.KeyboardCreate method |
settings |
Object of class MIDI_KEYBOARD_SETTINGS that receives in output graphical settings of the keyboard. |
Return value
Value |
Meaning |
|
|
Negative value |
An error occurred (see the LastError property for further error details) |
enumErrorCodes.NOERROR (0) |
The method call was successful. |