ich hänge grade wohl irgendwie fest...
Wieso wird hier das -SysMenu und +AlwaysOnTop nicht übernommen ?
Code: Select all
Gui, 3:Destroy
Gui, 6:+AlwaysOnTop
Gui, 6:-SysMenu
Gui, 7:-SysMenu
; #####################################
; Variable01 -> 0 = Kommt von Main.ahk
; Variable01 -> 1 = Änderung an Ini
; Variable01 -> 2 = Keine Änderung
; #####################################
Gui, 6:Destroy
IniRead, Halle_Alt, %A_ScriptDir%\settings.ini, Lagerbestand, Halle
IniRead, Regal_Alt, %A_ScriptDir%\settings.ini, Lagerbestand, Regal
IniRead, Ebene_Alt, %A_ScriptDir%\settings.ini, Lagerbestand, Ebene
Gui, 6:Add, Edit, x12 y29 w40 h20 ReadOnly, %Halle_Alt%
Gui, 6:Add, Edit, x62 y29 w40 h20 ReadOnly, %Regal_Alt%
Gui, 6:Add, Edit, x112 y29 w40 h20 ReadOnly, %Ebene_Alt%
Gui, 6:Add, CheckBox, x12 y49 w140 h20 +BackgroundTrans vposdelete, Alte Pos löschen ?
Gui, 6:Add, Text, x12 y9 w40 h20 +BackgroundTrans, Halle
Gui, 6:Add, Text, x62 y9 w40 h20 +BackgroundTrans, Regal
Gui, 6:Add, Text, x112 y9 w40 h20 +BackgroundTrans, Ebene
Gui, 6:Add, Button, x22 y79 w50 h30 gNext, Next
Gui, 6:Add, Button, x92 y79 w50 h30 gaendern, Ändern
Gui, 6:Add, Button, x52 y119 w60 h30 gabbrechen1, Abbrechen
; ### Menu ###
{
Menu, FileMenu, Add, Position speichern, ini6, MenuHandler
Menu, FileMenu, Add, Exit, 6GuiClose, MenuHandler
Menu, MyMenuBar, Add, &Datei, :FileMenu
Gui, 6:Menu, MyMenuBar
}
Gui, 6:Show, %x6% %y6% h156 w175 ,Gui 6
Return
6GuiClose:
ExitApp