Gui im Vordergrund

  • Hallo ,

    dies ist mein erster Post , also sagt mir wenn ich hier eventuell ins falsche forum geschrieben habe. Meine frage wäre wie kann ich eine GUI dazu bringen immer im Vordergrund zu bleiben.
    Wie das Window Info toll von Autoit zum beispiel. Vielen dank im vorraus

    Einmal editiert, zuletzt von GtaSpider (21. August 2010 um 17:33)

  • $WS_EX_TOPMOST

    Spoiler anzeigen
    [autoit]

    #include <GUIConstantsEx.au3>
    #include <WindowsConstants.au3>
    $gui = GUICreate("", 250, 250, -1, -1, -1, $WS_EX_TOPMOST)
    GUISetState(@SW_SHOW)

    [/autoit] [autoit][/autoit] [autoit]

    While 1
    $nMsg = GUIGetMsg()
    Switch $nMsg
    Case $GUI_EVENT_CLOSE
    Exit
    EndSwitch
    WEnd

    [/autoit]