Cant you just create a window that takes full screen? Somethine like:
int cx = GetSystemMetrics(SM_CXSCREEN);
int cy = GetSystemMetrics(SM_CYSCREEN);
hWnd = CreateWindowEx(
0,
"your class name",
"your title",
WS_POPUP,
0,
0,
cx,
cy,
NULL,
NULL,
hInstance,
NULL);
WS_POPUP so your window has no caption and no border.
: Hi people,
:
: I have tried to change the screen resolution by calling ChangeDisplaySettings (DC function in GDI). This function, however, simply changes the resolution in Windows and does not switch to "full-screen mode" (like Borland BGIs do when calling "start_graph").
:
: Anyway, does somebody know an easy/common way (without OpenGL or DirectX) to open a full-screen (from which an HDC can be obtain)?
:
: Thanks in advance :)
: