Archived

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

Fullscreen

This topic is 5582 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts


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