>>>Hi all,
>>>
>>>I've tried to design a form to come out as Top-Level Form (ShowWindow property/SDI). When I run my program, everything is OK except the window is not focus. If I have Explorer on, the window will be behind Explorer. Please help.
>>>
>>>Thanks,
>>>Farouk Yew Abdullah
>>
>>Try setting the .AlwaysOnTop property of the form to .T.
>
>i've had this same problem and i got around it using the FindWindow api call to get a handle to the window
>and then using the BringWindowToTop api call. seems to work pretty good.
I've used a Setfocus in the form init for this...I guess there are several ways of handling it...
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.