Im trying to make a simple fullscreen application for DirectDraw, but even with the DDSCL_FULLSCREEN flag set when I call SetCooperativeLevel, it only makes window that covers the whole screen (still with the title bar)...
Code:
if(FAILED(lpdd->SetCooperativeLevel(main_window_handle, DDSCL_FULLSCREEN|DDSCL_EXCLUSIVE|DDSCL_ALLOWMODEX|DDSCL_ALLOWREBOOT))) 
{
   
   MessageBox(NULL,"SetCooperativeLevel() failed!","Error!",MB_OK|MB_ICONEXCLAMATION);
}
Shouldn't that make it a full black screen?? Also, if I only have DDSCL_FULLSCREEN for the last argument, the function fails...For a good measure heres my complete source if someone feels like really helping me
Oh, and I'm using Dev Cpp since MSVC++ 6 didn't want to compile it! >