I got a new machine last week with Win2000. The VFP app that I am about ready to release does not startup on top of the other windows on the screen when I start the EXE. It works OK in Win95 and WinNT.
I have noticed this behavior with other programs in Win2000. For instance QuickView Plus starts up behind the Explorer window when I view a file. Does anybody know if this is a bug or a new feature of Win2000?
I found that I can get my app to come the top with 2 lines of code:
_SCREEN.AlwaysOnTop = .T.
_SCREEN.AlwaysOnTop = .F.
but it does not get focus until I click on it.
Does anybody know how I can set focus to my app? Maybe an API function?
Dennis Lindeman