Hi

Can anyone tell me how to use GetWindowRect API?

I know where to get the API using API Text Viewer. However, do I need to define rect using the following codes :-

Type Rect
Left as long
Right as long
Top as long
Bottom as long
end type

How can I get the left, top, right and bottom dimensions of a form using this GetWindowRect API?
Pls Pls enlighten....source code will be better!

Thankyou!!

Beginner with problems