hanifasmm said:In VB6, it is stated as below in API viewer:
Public Type RECT
Left As Long
Top As Long
Right As Long
Bottom As Long
End Type
Public Declare Function GetWindowRect Lib "user32" Alias "GetWindowRect" (ByVal hwnd As Long, lpRect As RECT) As Long
It works well with win-98 but it gives error in XP.
How I insert your statements?
Please furnish me the correct syntax.
Thanks,
Er.S.M.M.Hanifa