hey i made a simple form with GUI . i want lock this form and prevent it go to back ground
or atleast with mouse movement come foreground again
as i found after i click on another layer like a web browser my form go to back ground and wont come back top again (not manual)
#include <GUIConstantsEx.au3>
$Form1 = GUICreate("Form1", 100, 620, 10, 10)
GUISetState(@SW_SHOW)
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_PRIMARYUP
GUISetState(@SW_SHOWNORMAL)
EndSwitch
WEnd
please show me a way to keep my form on top ( it is necessary to click on another layer too)