I have a problem getting my forms size. Do anyone have any houghts about how to get the size.
VB Code: Public Declare Function GetWindowRect Lib "user32" Alias "GetWindowRect" (ByVal hwnd As Long, lpRect As RECT) As Long Public Type RECT Left As Long Top As Long Right As Long Bottom As Long End Type Dim R As RECT GetWindowRect Me.hWnd, R Width = R.Right - R.Left Height = R.Bottom - R.Top
Public Declare Function GetWindowRect Lib "user32" Alias "GetWindowRect" (ByVal hwnd As Long, lpRect As RECT) As Long Public Type RECT Left As Long Top As Long Right As Long Bottom As Long End Type Dim R As RECT GetWindowRect Me.hWnd, R Width = R.Right - R.Left Height = R.Bottom - R.Top
All contents of the above post that aren't somebody elses are mine, not the property of some media corporation. (Just a heads-up)
thanks
Forum Rules