MidiVirtualKeyboard.Move method |
|
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] control.MidiVirtualKeyboard.Move ( hWndKeyboard as OLE_HANDLE, nLeft as Long, nTop as Long, nWidth as Long, nHeight as Long ) as enumDjcErrorCodes |
[C++] short control.MidiVirtualKeyboard.Move ( OLE_HANDLE hWndKeyboard, long nLeft, long nTop, long nWidth, long 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 |
|
|
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. |