MidiVirtualKeyboard.Destroy method |
|
Remarks
Destroys 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] control.MidiVirtualKeyboard.Destroy ( hWndKeyboard as OLE_HANDLE ) as enumDjcErrorCodes |
[C++] short control.MidiVirtualKeyboard.Destroy ( OLE_HANDLE hWndKeyboard ); |
Parameter |
Description |
|
|
hWndKeyboard |
Handle of the virtual keyboard as returned by the call to the MidiVirtualKeyboard.Create method |
Return value
Value |
Meaning |
|
|
Negative value |
An error occurred, check the LastError property value in order to get the error code |
enumDjcErrorCodes.ERR_DJC_NOERROR (0) |
The method call was successful |