본문 바로가기

자료

[C#/VB.net] set windowpos

728x90
선언 :

 

    <DllImport("user32.dll")>
    Public Shared Function SetWindowPos(hWnd As IntPtr, hWndInsertAfter As IntPtr, X As Integer, Y As Integer, cx As Integer, cy As Integer, uFlags As UInteger) As <MarshalAs(UnmanagedType.Bool)> Boolean
    End Function

 

 

사용 :

 

 SetWindowPos(hParent, 0, 0, 0, 0, 0, 65)
728x90