cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - If community subscription notifications are filling up your inbox you can set up a daily digest and get all your notifications in a single email. X

minimize

hguo
1-Newbie

minimize


how to minimize/maximize a dalog in Toolkit?


This thread is inactive and closed by the PTC Community Management Team. If you would like to provide a reply and re-open this thread, please notify the moderator and reference the thread. You may also use "Start a topic" button to ask a new question. Please be sure to include what version of the PTC product you are using so another community member knowledgeable about your version may be able to assist.
2 REPLIES 2
TomasLoun
4-Participant
(To:hguo)

What about ProUIDialogHide ?

Eike_Hauptmann
13-Aquamarine
(To:hguo)

As alternative you can use ProMacroLoad("..."); ProMacroExecute(); And use a Mapkey to do the resize / minimize / maximize.

Second alternative would be Windows API call. So you can get the hwnd Windows handle and use it to send a minimize / maximize request. You can use the Spy++ / Spy++64 to get the send and respone events, to send it manually or use the ShowWindow() function.

https://msdn.microsoft.com/de-de/library/windows/desktop/ms633548(v=vs.85).aspx

There are lots of different ways to initialize the window handle.

Br,

Eike

Top Tags