// Set the main window as borderless
hWnd = openWindow(0, 0, ScreenW, ScreenH, "Zabi's Escape Editor", WS_POPUP | WS_CLIPCHILDREN, true);
// Attach the DarkGDK screen to the window
dbOpenScreen(hWnd, 0, 0, ScreenW, ScreenH,ScreenD,0);
// Set the window to the to the top of the z-order
SetWindowPos(hWnd, 0, 0, 0, 0, 0, SWP_NOREPOSITION | SWP_NOSIZE);//HWND_TOPMOST in second parameter prevents moving to another program. I don't need it for anything.... that I know of.
ShowWindow(hWnd, SW_SHOW);
This gives you full screen. Well, full-screen windowed with no border of any kind.
The fastest code is the code never written.