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

Community Tip - Help us improve the PTC Community by taking this short Community Survey! X

minimize

hguo
2-Explorer

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
12-Amethyst
(To:hguo)

What about ProUIDialogHide ?

Eike_Hauptmann
15-Moonstone
(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

Announcements


Top Tags