Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Maximize program window
Message
 
 
To
27/07/2001 21:04:25
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00536729
Message ID:
00536782
Views:
7
>>>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,9
>
>Thank 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.

Try SC_MAXIMIZE = 0xF030
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform