General information
Category:
Coding, syntax & commands
>I put code in my application that checks to see if it is already running and if it is it stops loading and informs the user with a messagebox that it is already running. I would like to modify this so if the user tries to run it a second time instead of getting the messagebox, the current running application is brought to the front and maximized. I am using VFP 5.0a.
>
>Any ideas?
>
>
>Jeff Rusch
>UW-Madison
you can use the BringWindowToTop win32api call. i needs a window handle which you can get with the FindWindow call.
hope this helps
gray
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only