[]
        
(Showing Draft Content)

C1.Util.Win.Win32.GET_X_LPARAM

GET_X_LPARAM Method

GET_X_LPARAM(nint)

Retrieves the signed x-coordinate from the given value. This function handles the message parameters of window and is a replacement for LOWORD because LOWORD must return the unsigned value. See in MSDN which function used to process the message.

Declaration
public static int GET_X_LPARAM(nint lParam)
Parameters
Type Name Description
nint lParam

The value to be converted.

Returns
Type Description
int

The return value is the low-order int of the specified value.

Remarks

Use: WM_CONTEXTMENU, WM_MOUSEDOWN, WM_MOUSEUP, WM_MOUSEWHEEL, WM_MOUSEMOVE