Fullscreen

Started by
5 comments, last by Cme 21 years, 7 months ago
Hi, can anyboy send my a code of a fullscreen-application, because in my book is a bad ones. Please. Bye Simon
Advertisement
search the forum first........

but for this time i''ll give u an url

http://nehe.gamedev.net
http://www.gamedev.net/community/forums/topic.asp?topic_id=111692



------------
Runicsoft
Hello,
thanks for answering but I need a DirectX Fullscreen.

Bye
Simon
The following link should do the trick:

http://nexe.gamedev.net/tutorials/ViewTutorialPrinterFriendly.asp?tutorialfile=Pages/Tutorial2.myxml



---------------------------------------------------
Life after death? No thanks, I want to live NOW
--- Sturm 2001

[edited by - Sturm on August 30, 2002 6:58:38 AM]
---------------------------------------------------Life after death? No thanks, I want to live NOW --- Sturm 2001
	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);					} 
APE
This should also be covered in the DirectX SDK docs.

Helpful links:
How To Ask Questions The Smart Way | Google can help with your question | Search MSDN for help with standard C or Windows functions

This topic is closed to new replies.

Advertisement