Nach Aktivieren von GUI verschwindet diese

  • Hallo Leute,
    mal wieder ein kleines Problem:

    [autoit]

    GUISetState(@SW_DISABLE)
    MsgBox(48 + 262144, "Error", "Please select an answer!")
    GUISetState(@SW_ENABLE)

    [/autoit]


    Das GUI wird auch deaktiviert. Die Messagebox erscheint und wenn ich auf OK klicke, wird das GUI minimiert.
    Meine Vermutung ist, dass das an "MsgBox has top-most attribute set" (flag 262144) liegt, jedoch soll die Messagebox immer im Vordergrund sein.
    Was kann man da machen?

    o
    L_/
    | ||

    This ist janaiky. Copy janaiky into your signature to help him on the war to the Weltherrschaft.

    Einmal editiert, zuletzt von janaiky (26. November 2010 um 23:10)