Is there anyone know in MASM a demo or code piece of when your app starts to run ,it reset desktop screen resolution / color depth and go to full screen mode? :lol:
      I know most games using DirectDraw ,etc need to  initialize the screen to its default mode,and i don't want to using DirectX
and know little about it,Better a simple demo with win32 general API.
    Thanks in advance!
Posted on 2005-12-14 07:06:41 by Luckrock
Learn about GDIif you wish no DX, but GDI is more complex that DX7, IMHO.
Posted on 2005-12-14 12:16:43 by ti_mo_n

IIRC MS implemented some hacks to support their OpenGL implementation of WinNT / Win95. This was before directx existed and was originally based on DCI (DCIMAN32.DLL). Just use the ChangeDisplaySettings function to set/reset the desired screen resolution.
Posted on 2005-12-15 02:19:52 by japheth
EnumDisplaySettings, ChangeDisplaySettings
Posted on 2005-12-15 04:52:55 by k3Eahn
Hi,thanaks all
    That's it: EnumDisplaySettings, ChangeDisplaySettings,I would not like DirectX ,nor OpenGL function for full screen app.
    Best Regards!
Posted on 2005-12-15 07:10:00 by Luckrock
Here is a demo program code for setting screenmode.

It is write by a Chinese, his name is LuoYunBin.his home page is

Best Regards!
Posted on 2005-12-15 09:09:36 by purpleendurer
        Thanks for your offer, I know Mr Luoyunbing have written a book about Winasm32,but I didn't buy or ever read it.
        And his program style is very strange,such :@writeanything,@doing,that's make me feel un-comfortable.
  Anyway ,thanks again and hope be contacted always.
Posted on 2005-12-16 04:52:04 by Luckrock