ok, now i've a second problem
i can't find how to know the current window size blush

i suppose, that i've to say something like (in peudocode)

if(my_mouseX > windows_length) SetCursorPos(windows_length,my_mouseY)
if(my_mouseX < 0 SetCursorPos) SetCursorPos(0,my_mouseY)
if(my_mouseY > windows_height) SetCursorPos(my_mouseX, windows_height)
if(my_mouseY < 0 SetCursorPos) SetCursorPos(my_mouseX,0)

i'm in heading on the right direction ?
also, can i hide the mouse cursor in window mode ?
actually i've a finger, just like when you have a link in abrowser confused

Last edited by MaximilianPs; 06/01/09 08:38. Reason: syntax correction ^^