You can just flag the event you fire yourself, and then ignore it if it's flagged :)
Alternatively you can test if the x and y position is already ok, and then do nothing if they are.
If event.id = EVENT_WINDOWMOVE If event.data <> -1000 ' .. do something .. ' post a flagged event PostEvent( CreateEvent(EVENT_WINDOWMOVE,bla,-1000,0,modifiedx,modifiedy) ) EndIf EndIfOr maybe not?
Alternatively you can test if the x and y position is already ok, and then do nothing if they are.