Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
EXE forced in front of other EXE at runtime
Message
 
To
10/04/2015 12:59:25
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows 7
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01618033
Message ID:
01618375
Views:
63
>>>>>>Hi Gang!
>>>>>>
>>>>>>Questioin.....
>>>>>>

(snip)

>
>>*DECLARE INTEGER FindWindow IN user32 STRING lpClassName, STRING lpWindowName
>>DECLARE INTEGER BringWindowToTop IN user32 INTEGER hWindow
>>
>>*hWnd = FindWindow(Null, Thisform.Caption)
>>BringWindowToTop(Thisform.HWnd)
>>
>>In a method called from a countdown time ( that just runs once for testing purposes) in a form. When it fires, and goes through this code, the window stays behind any other window and/or form ( I quickly cover the form up with other forms and exes before the time expires ).
>>
>>Any idea what I am doing incorrectly ??
>>
>
>I just looked at the application where I'm doing something like this and I see that I'm using SetForegroundWindow rather than BringWindowToTop,
>
>Tamar

Sorry to bother you, Tamar.

I am having some problems implementing this. Any chance I can peek at some of the code you are referring to that is working for you?

Thanks a bunch!

Tommy
Tommy Tillman A+ NetWork+ MCP
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform