Hallo,
das geht mit SetWindowPos:
declare e%,exit&
WindowTitle "Ich bin immer im Vordergrund"
window 20,20 - 300,200
exit& = CreateButton(%HWnd,"Exit",5,120,100,25)
SetWindowPos %HWnd = 20,20 - 300,200;-1
whilenot e%
WaitInPut
if GetFocus(exit&)
e% = 1
endif
wend
end
MfG
Dietmar
|