Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Maximize program window
Message
From
27/07/2001 18:32:07
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
Maximize program window
Miscellaneous
Thread ID:
00536729
Message ID:
00536729
Views:
54
I'm looking for a way to programmatically maximize a program window from VFP. I have an app that finds a client record, then opens a DDE link to GoldMine (a contact manager) and displays the same client record there. I then use SetForegroundWindow() call to set focus to GoldMine. Unfortunately, if GoldMine is minimized, focus is set to a minimized program and the user thinks nothing has happened.

I searched the API docs in UT and saw the ShowWindow() call, but haven't been able to get it to work successfully and I can't find additional documentation anywhere.

Thanks in advance.
-Henry-
Next
Reply
Map
View

Click here to load this message in the networking platform