Copyright © 2013-2014 MultiMedia Soft

MidiVirtualKeyboard.Move method

Previous pageReturn to chapter overviewNext page

Remarks

 

Moves or resizes 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.Move (

hWndKeyboard as IntPtr,

nLeft as Int32,

nTop as Int32,

nWidth as Int32,

nHeight as Int32

) as IntPtr


 

[C#]

public IntPtr MidiVirtualKeyboard.Move (

IntPtr hWndKeyboard,

Int32 nLeft,

Int32 nTop,

Int32 nWidth,

Int32 nHeight

);


 

[C++]

public: IntPtr MidiVirtualKeyboard.Move (

IntPtr hWndKeyboard,

Int32 nLeft,

Int32 nTop,

Int32 nWidth,

Int32 nHeight

);


 

Parameter

Description

 

 

hWndKeyboard

Handle of the virtual keyboard as returned by the call to the MidiVirtualKeyboard.Create method

nLeft

Left position of the keyboard window, expressed in parent's client coordinates (pixels)

nTop

Top position of the keyboard window, expressed in parent's client coordinates (pixels)

nWidth

Width of the keyboard window, expressed in pixels

nHeight

Height of the keyboard window, expressed in pixels

 

 

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.