Here's what's happening:
I instantiate a COM object from an Out-of-Process COM Server in the start-up(main .prg) of my application while SCREEN=OFF.
Immediately before issuing READ EVENTS, I set _Screen.Visible = .T..
My application becomes visible(to the taskbar); however, remains behind any previously visible windows. Basically, it doesnt receive keyboard focus.
If I remove the COM object instantiation, my application window comes to the front as it should.
I've tried the following API functions to force my window to the front:
BringWindowToTop - No luck
SetForegroundWindow - Makes the window flash (blink)
ShowWindow - No luck
Any suggestions or SWAGs?? Jon Hawkins
jonscott8@yahoo.com
The World Is Headed For Mutiny,
When All We Want Is Unity. - Creed
I instantiate a COM object from an Out-of-Process COM Server in the start-up(main .prg) of my application while SCREEN=OFF.
Immediately before issuing READ EVENTS, I set _Screen.Visible = .T..
My application becomes visible(to the taskbar); however, remains behind any previously visible windows. Basically, it doesnt receive keyboard focus.
If I remove the COM object instantiation, my application window comes to the front as it should.
I've tried the following API functions to force my window to the front:
BringWindowToTop - No luck
SetForegroundWindow - Makes the window flash (blink)
ShowWindow - No luck
Any suggestions or SWAGs?? Jon Hawkins
jonscott8@yahoo.com
The World Is Headed For Mutiny,
When All We Want Is Unity. - Creed