How to get focus on required window ?

Hi friends,

I am just a beginner in this field. Kindly give me suggestions for my problem.

I am using Visual Fortron 90. I have opened more than one window . I want to get the focus to the specific window as per request.

What is the code for it to get focus on required window?

[This message has been edited by Amol Joshi (edited 07-01-2002).]

HWND SetFocus(
HWND hWnd // handle to window to receive focus

Thanks for your help.
I can now focus the required window.