MIDI.KeyboardShow method |
|
Remarks
Shows/hides an existing virtual piano keyboard.
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 KeyboardShow ( hWndKeyboard as IntPtr, bShow as Boolean ) as enumErrorCodes |
[C#] public enumErrorCodes KeyboardShow ( IntPtr hWndKeyboard, bool bShow ); |
[C++] public: enumErrorCodes KeyboardShow ( IntPtr hWndKeyboard, bool bShow ); |
Parameter |
Description |
||||||
|
|
||||||
hWndKeyboard |
Handle of the virtual keyboard as returned by the call to the MIDI.KeyboardCreate method |
||||||
bShow |
Boolean value that specifies if it must show/hide the given virtual piano keyboard. Supported values are the following:
|
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. |