Ich habe folgenden Code:
Code: Alles auswählen
...
...
Repeat
GetCursorPos_ (Mauskoordinaten(0))
hWnd = WindowFromPoint_ (Mauskoordinaten(0)\x,Mauskoordinaten(0)\y)
If hWnd <> 0 : AddGadgetItem (0,0,Str(hWnd)) : hWnd = 0 : EndIf
Until WaitWindowEvent () = #PB_Event_CloseWindow
Warum? Wo steckt der Fehler?
Danke,
Bytedevil