Archived

This topic is now archived and is closed to further replies.

Cme

Fullscreen

Recommended Posts

Hi, can anyboy send my a code of a fullscreen-application, because in my book is a bad ones. Please. Bye Simon

Share this post


Link to post
Share on other sites

if (bFullscreen == false)
{
// Create a normal window with a border, a caption, and an X button
m_hWnd = CreateWindowEx(WS_EX_CLIENTEDGE,
m_lpStrClass,
m_lpStrTitle,
WS_SYSMENU | WS_BORDER | WS_CAPTION | WS_VISIBLE,
m_nX, m_nY,
m_nW, m_nH,
NULL,
menu,
m_hInst,
NULL);
}
else
{
// Create a fullscreen window, one that doesn''t have anything in it
m_hWnd = CreateWindowEx(NULL,
m_lpStrClass,
m_lpStrTitle,
WS_POPUP | WS_VISIBLE,
m_nX, m_nY,
m_nW, m_nH,
NULL,
menu,
m_hInst,
NULL);


}

Share this post


Link to post
Share on other sites