VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

'Get window position points using GetWindowRect API

Karthikeyan  (187 Submissions)   Windows API Call/Explanation   Visual Basic 5.0   Unknown Difficulty   Tue 23rd January 2001   Mon 8th February 2021

'Get window position points using GetWindowRect API

API Declarations


Left As Long
Top As Long
Right As Long
Bottom As Long
End Type
Private Declare Function GetWindowRect Lib "user32" (ByVal hwnd As Long, lpRect As RECT) As Long
Private Declare Function SetWindowPos Lib "user32" (ByVal hwnd As Long, ByVal hWndInsertAfter As Long, ByVal x As Long, ByVal y As Long, ByVal cx As Long, ByVal cy As Long, ByVal wFlags As Long) As Long
Private Declare Function GetForegroundWindow Lib "user32" () As Long

Rate 'Get window position points using GetWindowRect API (1(1 Vote))
'Get window position points using GetWindowRect API.bas

'Get window position points using GetWindowRect API Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters