MidiVirtualKeyboard.Show method |
|
Remarks
Shows/hides an existing virtual piano keyboard.
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.Show ( hWndKeyboard as IntPtr, bShow as Boolean ) as IntPtr |
[C#] public IntPtr MidiVirtualKeyboard.Show ( IntPtr hWndKeyboard, bool bShow ); |
[C++] public: IntPtr MidiVirtualKeyboard.Show ( IntPtr hWndKeyboard, bool bShow ); |
Parameter |
Description |
||||||
|
|
||||||
hWndKeyboard |
Handle of the virtual keyboard as returned by the call to the MidiVirtualKeyboard.Create method |
||||||
bShow |
Boolean value that specifies if the given virtual piano keyboard must be shown or hidden. Supported values are the following:
|
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. |