Copyright © 2003-2010 MultiMedia Soft

MoveShapedForm method

Previous pageReturn to chapter overview

Remarks

Use this method from inside the override of the form WndProc function in order to allow the repositioning of the shaped form along your desktop through the mouse dragging.

For details about the management of shaped forms, see the How to change the shape of my forms section.

 

Syntax

 

[Visual Basic]

Public Function MoveShapedForm (int hWnd, int lParam) As Integer

 

[C#]

public int MoveShapedForm (int hWnd, int lParam);

 

[C++]

public: int MoveShapedForm (int hWnd, int lParam);

 

 

Parameter

Description

 

 

hWnd

The Windows handle of the form

lParam

The lParam parameter passed to the WndProc function: it contains information about the final coordinates of the form.