[]
        
(Showing Draft Content)

C1.Util.Win.Win32.SetWindowLong

SetWindowLong Method

SetWindowLong(IntPtr, int, int)

Declaration
public static extern int SetWindowLong(IntPtr hwnd, int nIndex, int dwNewLong)
Public Shared Function SetWindowLong(hwnd As IntPtr, nIndex As Integer, dwNewLong As Integer) As Integer
Parameters
Type Name Description
IntPtr hwnd
int nIndex
int dwNewLong
Returns
Type Description
int

SetWindowLong(IntPtr, int, IntPtr)

Declaration
public static extern IntPtr SetWindowLong(IntPtr hwnd, int nIndex, IntPtr dwNewLong)
Public Shared Function SetWindowLong(hwnd As IntPtr, nIndex As Integer, dwNewLong As IntPtr) As IntPtr
Parameters
Type Name Description
IntPtr hwnd
int nIndex
IntPtr dwNewLong
Returns
Type Description
IntPtr

SetWindowLong(IntPtr, int, WindowProc)

Declaration
public static extern IntPtr SetWindowLong(IntPtr hwnd, int nIndex, Win32.WindowProc newWindowProc)
Public Shared Function SetWindowLong(hwnd As IntPtr, nIndex As Integer, newWindowProc As Win32.WindowProc) As IntPtr
Parameters
Type Name Description
IntPtr hwnd
int nIndex
Win32.WindowProc newWindowProc
Returns
Type Description
IntPtr