SDL_SetVideoMode(640,
480, 32, SDL_SWSURFACE); // Create an SDL
window
HWND
hwnd =GetActiveWindow();
// Get the Handle of the SDL window
// now
move the window to certain place, and change the size, and remove
the caption
SetWindowPos(hwnd,HWND_TOPMOST,10,10,200,200,SWP_SHOWWINDOW);
long
style= GetWindowLong(hwnd,GWL_STYLE);
SetWindowLong(hwnd,GWL_STYLE,style
& (~WS_CAPTION));
UpdateWindow(hwnd);