Ribbon for WinForms | ComponentOne
C1.Util.Win Namespace / Win32 Class / GET_X_LPARAM Method
The value to be converted.

In This Topic
    GET_X_LPARAM Method (Win32)
    In This Topic
    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.
    Syntax
    'Declaration
     
    
    Public Shared Function GET_X_LPARAM( _
       ByVal lParam As IntPtr _
    ) As Integer
    public static int GET_X_LPARAM( 
       IntPtr lParam
    )

    Parameters

    lParam
    The value to be converted.

    Return Value

    The return value is the low-order int of the specified value.
    Remarks
    Use: WM_CONTEXTMENU, WM_MOUSEDOWN, WM_MOUSEUP, WM_MOUSEWHEEL, WM_MOUSEMOVE
    See Also