Window Control

 

Control window icon and button on Mac.

miyako/4d-plugin-window-control-v2


WINDOW SET ENABLED(window;button;enabled) 
enabled:=WINDOW Get enabled(window;button)
Parameter
Type
Description
window
LONGINT
button
LONGINT
enabled
LONGINT
WINDOW SET ICON(window;icon) 
icon:=WINDOW Get enabled(window)
Parameter
Type
Description
window
LONGINT
button
LONGINT
icon
PICTURE

The representedURL is set to file:// which corresponds to the system volume path.

Window Button Types

Property Type Description
Window close button LONGINT  
Window minimize button LONGINT  
Window zoom button LONGINT  
Window document modified LONGINT  

Added in 2.2.0

WINDOW MINIATURIZE(window) 
WINDOW DEMINIATURIZE(window) 
isMiniaturized:=WINDOW Is miniaturized(window)