Clip the mouse cursor to an area in a window.
Namespace: ExpSuiteAssembly: FrameWork (in FrameWork.exe) Version: 1.0.0.0
Syntax
Visual Basic |
---|
Public Shared Sub ClipCursorToWindow ( _ hWnd As Integer, _ lLeft As Integer, _ lTop As Integer, _ lWidth As Integer, _ lHeight As Integer _ ) |
Parameters
- hWnd
- Type: System..::..Int32
Handle of the window. Set hWnd to 0 to release the clipping area.
- lLeft
- Type: System..::..Int32
Left corner [pixels]
- lTop
- Type: System..::..Int32
Top corner [pixels]
- lWidth
- Type: System..::..Int32
Width of the area.
- lHeight
- Type: System..::..Int32
Height of the area.