Hi!
Wie schaff ich es, dass ich eine GUI nicht nur durch die Titlebar verschieben kann? Also dass man auf eine "Controlfreie" Stelle klickt und dann das Fenster verschieben kann. Geht doch sicher mit nem DllCall oder so.
fabs
Hi!
Wie schaff ich es, dass ich eine GUI nicht nur durch die Titlebar verschieben kann? Also dass man auf eine "Controlfreie" Stelle klickt und dann das Fenster verschieben kann. Geht doch sicher mit nem DllCall oder so.
fabs
Hi,
Zitat
GUICtrlCreateLabelCreates a static Label control for the GUI.
______________________________________________________________________________________________________________________________________________________The extended style $GUI_WS_EX_PARENTDRAG can be used to allow the dragging of the parent window for windows that don't have a titlebar (no $WS_CAPTION style in GUICreate).
Beispiel:
#include <GUIConstants.au3>
[/autoit] [autoit][/autoit] [autoit]$Form1 = GUICreate("Form1", 633, 447, 372, 251)
$Label1 = GUICtrlCreateLabel("", 0, 0, 633, 447,"",$GUI_WS_EX_PARENTDRAG)
GUISetState(@SW_SHOW)
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
EndSwitch
WEnd
Ahh du bist ein Gott
Vielen Dank!