Geht leider nur etwas umstaendlich ueber das GuiSize label:
Code:
Menu, Tray, noStandard ; optional
; add tray menu item to restore GUI
Menu, Tray, Add, Show, Show
; make it the default, so the GUI is restored
; when user double-clicks the tray icon
Menu, Tray, default, Show
Gui, Add, CheckBox, x26 y30 w100 h40, Allow Fritz to ShutDown
Gui, Add, CheckBox, x186 y30 w100 h40, Allow Franz to ShutDown
Gui, Add, GroupBox, x16 y10 w120 h70 , Franz
Gui, Add, GroupBox, x176 y10 w120 h70 , Fritz
Gui, Show, x131 y91 h117 w324, New GUI Window
;Gui, +Taskbar ; Geht nicht:-(
Return
GuiSize:
; a_eventInfo = 1 -> GUI is being minimized
ifEqual, a_eventInfo, 1, {
Gui, hide
return ; avoid doing any resizing
}
return
; show the GUI
Show:
Gui, Show
return
Es giebt uebrigens auch ein Deutsches Forum
