For anyone who happens to ever want to have a perfect fixed size window in their program.
dbSetDisplayMode ( 800, 600, 32 );
HWND hWnd = g_pGlob->hWnd;
HICON hIconSm = (HICON)LoadImage(g_pGlob->hInstance, MAKEINTRESOURCE(IDI_DODR), IMAGE_ICON, 16, 16, 0);
SendMessage(hWnd, WM_SETICON, ICON_SMALL, (LPARAM)hIconSm);
SetWindowText(hWnd, L"Game Name");
DWORD style = ::GetWindowLong(hWnd, GWL_STYLE);
style |= (WS_MINIMIZEBOX);
style &= ~(WS_THICKFRAME|WS_MAXIMIZEBOX);
::SetWindowLong(hWnd, GWL_STYLE, style);
SetWindowPos(hWnd, HWND_TOPMOST, 5, 5, 800, 600, SWP_SHOWWINDOW|SWP_FRAMECHANGED);