001
15.12.2002, 15:54 Uhr
FloSoft
Medialer Over-Flow (Administrator)
|
hi, die frage gabs schon öfters
C++: |
DEVMODE dmScreenSettings; memset(&dmScreenSettings,0,sizeof(dmScreenSettings)); dmScreenSettings.dmSize = sizeof(dmScreenSettings); dmScreenSettings.dmPelsWidth = 800; dmScreenSettings.dmPelsHeight = 600; dmScreenSettings.dmBitsPerPel = 16; dmScreenSettings.dmFields = DM_BITSPERPEL|DM_PELSWIDTH|DM_PELSHEIGHT|DM_DISPLAYFLAGS; if (ChangeDisplaySettings(&dmScreenSettings,CDS_FULLSCREEN)!=DISP_CHANGE_SUCCESSFUL) { MessageBox(NULL,"The Requested Fullscreen Mode Is Not Supported by Your Videocard", "ERROR", MB_OK|MB_ICONSTOP); MessageBox(NULL,"Program Will Now Close.", "ERROR", MB_OK|MB_ICONSTOP); return 0; }
|
-- class God : public ChuckNorris { }; Dieser Post wurde am 15.12.2002 um 15:54 Uhr von FloSoft editiert. |