Fenster 'ziehen'

  • Hey Autoitter,
    ich habe schoneinmal in Autoit gesehen, dass wenn ich auf ein GUI drücke und dann meine maus bewege, automatisch das Fenster mitbewegt wird. Nun ist meine Frage, welcher Stil ist das bzw. welche Funktion. Wer von euch schonmal einen Keygen auf dem Bildschirm hatte, kennt diesen Effect sicherlich, da er in der Branche sehr beliebt ist. Ich brauch ihn jedoch nur für ein kleines Programm das meine Taskleiste ersetzten wird O.o. Das Programm werde ich wenn es fertig ist auch Veröffentlichen.

    MfG,
    Xyron

    //Edit
    Ups, vergessen auf gelöst zu stellen
    P.S. Danke für all die guten Kommentare. Das Autoit Forum ist und bleibt das beste ^^.

    Meine Werke


    EasyScreen (teilweise Crocoframe): <EasyScreen>
    Spotify2Title: <Spotify2Title> (zur Info, dies ist KEIN Spotify-Downloader! Wer das dachte... :rofl: sowas gibts hier nicht :thumbdown: )

    Einmal editiert, zuletzt von Xyron (10. Februar 2011 um 19:56)

    • Offizieller Beitrag

    Na Super, wieder mal ein Style der in der Hilfe verschwiegen wird.
    Damit kann man sich das ganze $GUI_WS_EX_PARENTDRAG auch sparen. Ein Hoch auf BugFix der diesen Style gefunden hat. :thumbup:
    Der Style ist zwar in der WindowsConstant.au3 definiert aber nirgends beschrieben.

    Genauso fehlen die Beschreibungen für
    WS_EX_LAYOUTRTL
    Arabic and Hebrew versions of Windows 98/Me, Windows 2000/XP: Creates a window whose horizontal origin is on the right edge. Increasing horizontal values advance to the left.

    WS_EX_LEFTSCROLLBAR
    If the shell language is Hebrew, Arabic, or another language that supports reading order alignment, the vertical scroll bar (if present) is to the left of the client area. For other languages, the style is ignored.

    WS_EX_RIGHT
    The window has generic "right-aligned" properties. This depends on the window class. This style has an effect only if the shell language is Hebrew, Arabic, or another language that supports reading-order alignment; otherwise, the style is ignored.
    Using the WS_EX_RIGHT style for static or edit controls has the same effect as using the SS_RIGHT or ES_RIGHT style, respectively. Using this style with button controls has the same effect as using BS_RIGHT and BS_RIGHTBUTTON styles.

    WS_EX_RTLREADING
    If the shell language is Hebrew, Arabic, or another language that supports reading-order alignment, the window text is displayed using right-to-left reading-order properties. For other languages, the style is ignored.

    • Offizieller Beitrag

    Na Super, wieder mal ein Style der in der Hilfe verschwiegen wird.
    Damit kann man sich das ganze $GUI_WS_EX_PARENTDRAG auch sparen. Ein Hoch auf BugFix der diesen Style gefunden hat. :thumbup:
    Der Style ist zwar in der WindowsConstant.au3 definiert aber nirgends beschrieben.


    Steht doch in der Hilfe (GUICreate):

    Zitat

    You can enable window draging for GUI without $WS_CAPTION by using $WS_EX_CONTROLPARENT in the exStyle parameter.