Skip to content

Commit 4984d6d

Browse files
SND\joelleach_cpSND\joelleach_cp
authored andcommitted
ParallelFox - WorkerProxy.Init(): Now restores foreground window only on Windows XP and earlier.
git-svn-id: https://vfpx.svn.codeplex.com/svn/ParallelFox@95317 81e6e737-5a20-4d0f-a97c-cb01297b46e0
1 parent 62e1aeb commit 4984d6d

3 files changed

Lines changed: 1 addition & 1 deletion

File tree

parallelfox.VCT

25 Bytes
Binary file not shown.

parallelfox.vca

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1401,7 +1401,7 @@ EndIf
14011401
* This issue apparently only affects IDE, and can cause wrong window
14021402
* to get focus at runtime if workers started when main VFP window is not visible.
14031403
* So, only applying to IDE. May revisit if issue presents itself at runtime or other scenarios.
1404-
If _VFP.StartMode = 0 and GetForegroundWindow() <> lhWndForeground
1404+
If _VFP.StartMode = 0 and Os(3)<6 and GetForegroundWindow() <> lhWndForeground
14051405
DECLARE INTEGER SetForegroundWindow IN user32 INTEGER hwnd
14061406
SetForegroundWindow(lhWndForeground)
14071407
EndIf

parallelfox.vcx

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)