Moving Blitz Window

Blitz3D Forums/Blitz3D Programming/Moving Blitz Window

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

heres the code that repositions the runtime window from winblitz3d, i never could get SetWindowPos() to work correctly.

        HDWP r = BeginDeferWindowPos(1);
        HDWP t = DeferWindowPos(r,runtimewindow,0,x,y,width,height,SWP_FRAMECHANGED | SWP_SHOWWINDOW | SWP_NOZORDER );
        EndDeferWindowPos(r);


use SetWindowLong() to change the windows style

kev