>Hi! > >These two could be a problem. After forms are shown, use SetForegroundWindow() API function to make it active manually. You can find the HWND value for this API function using the FindWindow API function. > >>
During startup _SCREEN is made visible and invisible; >> >>
During startup another task is created (all in same datasession); >>
Vlad, I followed the discussion with Chris (Setting Focus to Top Level Form) and though I have a code-example now, I don't think I can get this to work; In VFP5 there seems no _SetForehandWindow API. BTW, if another task is at the taskbar (so, minimized), my input is in this other task. I guess if no task is there, my input is at the desktop ? (didn't check that). I just tried for another hour, but can't get around this anoying thing...
I can resize the forms, maximize them etc., perform a SetFocus on the Control of the form, but it remains inactive.