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 MIDI object section and the How to deal with MIDI protocol tutorial.
Syntax
[Visual Basic] control.MIDI.KeyboardGraphicalSettingsSet ( hWndKeyboard as OLE_HANDLE, pParamData as Long ) as enumErrorCodes |
[C++] short control.MIDI.KeyboardGraphicalSettingsSet ( OLE_HANDLE hWndKeyboard, void *pParamData ); |
Parameter |
Description |
|
|
hWndKeyboard |
Handle of the virtual keyboard as returned by the call to the MIDI.KeyboardCreate method |
pParamData |
Address of a structure of type MIDI_KEYBOARD_SETTINGS containing graphical settings of the keyboard. |
Return value
Value |
Meaning |
|
|
enumErrorCodes.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. |