Skip to main content
1-Visitor
November 13, 2016
Question

minimize

  • November 13, 2016
  • 2 replies
  • 1373 views


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

1-Visitor
November 15, 2016

What about ProUIDialogHide ?

15-Moonstone
November 25, 2016

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