>>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.
>
>See API #12643 SetForegroundWindow at
http://www.levelextreme.com/wconnect/wc.dll?FournierTransformation~2,31,Forum=0,18,9Thank you, but I already have the SetForegroundWindow() function working. It's documentation mentions the SendMessage() function but I have not been able to get it to work or to find a list of #DEFINE statements for it.
-Henry-