Macro Language Reference > Macros > System > winfunc
  
winfunc
Description
Performs a specified Windows action/function: for example, you can use this macro to size the PTC ALD window or document.
 
Example 256. Minimize the document window
winfunc 10
 
Example 257. Display the PTC ALD system menu
winfunc 5
Syntax
winfunc windows action:n?
windows action
The action to be performed:
0
Minimize PTC ALD
1
MaximizePTC ALD
2
Restore PTC ALD
3
Move PTC ALD
4
Size PTC ALD
5
Show PTC ALD system menu
10
Minimize document
11
Maximize document
12
Restore document
13
Move document
14
Size document
15
Show document system menu
16
Show document context menu