Copyright © 2001-2019 MultiMedia Soft

MIDI.KeyboardShow method

Previous pageReturn to chapter overviewNext page

Remarks

 

Shows/hides an existing virtual piano keyboard.

 

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.KeyboardShow (

hWndKeyboard as OLE_HANDLE,

bShow as enumBoolean

) as enumErrorCodes


 

[C++]

short control.MIDI.KeyboardShow (

OLE_HANDLE hWndKeyboard,

short 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:

Value

Meaning

BOOL_FALSE

Hides the keyboard

BOOL_TRUE

Shows the keyboard

 

 

Return value

 

Value

Meaning

 

 

Negative value

An error occurred, check the LastError property value in order to get the error code

enumErrorCodes.ERR_NOERROR (0)

The method call was successful