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-