Copyright © 2013-2015 MultiMedia Soft

MidiVirtualKeyboard.Show method

Previous pageReturn to chapter overviewNext page

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]

control.MidiVirtualKeyboard.Show (

hWndKeyboard as OLE_HANDLE,

bShow as enumBoolean

) as enumDjcErrorCodes


 

[C++]

short control.MidiVirtualKeyboard.Show (

OLE_HANDLE hWndKeyboard,

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

Value

Meaning

BOOL_FALSE

Hides the keyboard

BOOL_TRUE

Shows the keyboard

 

 

Return value

 

Value

Meaning

 

 

enumDjcErrorCodes.ERR_DJC_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.