Jump to content
  • Advertisement

Archived

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

Cme

Fullscreen

This topic is 5771 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

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
Advertisement

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

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!