Hi,
hab folgendes Problem. Habe eine GUI auf der ein Button ist. Zu dieser GUI ist eine ander GUI als Child gesetzt. Problem ist nun, dass dieser Button auch über diesem Childfenster ist wenn es über diesen bewegt wird.
Spoiler anzeigen
#include <WindowsConstants.au3>
#include <GUIConstantsEx.au3>
#include <ButtonConstants.au3>
#Region ### START Koda GUI section ### Form=
$Desktop = GUICreate("Desktop", @DesktopWidth, @DesktopHeight, 0, 0, BitOR($WS_POPUP, $WS_VISIBLE), BitOR($WS_EX_TOPMOST, $WS_EX_WINDOWEDGE))
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
GUICtrlCreateButton("Test", 100, 80, 60, 60, BitOR($BS_NOTIFY, $WS_GROUP, $WS_TABSTOP, $WS_VISIBLE, $BS_FLAT))
[/autoit] [autoit][/autoit] [autoit]#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Form1", 625, 443, 192, 124, BitOR($WS_MINIMIZEBOX, $WS_SYSMENU, $WS_CAPTION, $WS_CHILD, $WS_GROUP, $WS_VISIBLE, $WS_BORDER, $WS_CLIPSIBLINGS), -1, $Desktop)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
EndSwitch
WEnd