Hi, i'm trying to make an application to transform existing windows into "windowed fullscreen". For example, i want to achieve with other applications what can be done in autoit with this code: GUICreate("asd", @DesktopWidth, @DesktopHeight, 0, 0, $WS_POPUP) GUISetState() Sleep(3000) So far i've searched the forums and found the _WinApi_SetWindowLong() function, but if i do this: $hwnd = WinGetHandle("[Class:Notepad]") WinMove($hwnd, "", 0, 0, @DesktopWidth, @DesktopHeight) _WinAPI