Skip to main content
gamedev.net
🔒 Locked

CreateWindowEx Style Fullscreen Problem

Started by uncutno Mar 12, 2003 at 6:20 PM 2 replies 550+ views
Original Post
uncutno
uncutno
To me, this is totaly strange.... I use almost the same code as NeHe lession 4, and i have a big problem, that the nehe executable dont have... if i use a WS_POPUP as the window style, nothing renders to the screen... (the clear still works)... if i change this to WS_OVERLAPPEDWINDOW it works perfect, but i get these ugly borders and the windows bottom bar.... i also use WS_CLIPSIBLINGS and WS_CLIPCHILDREN... on both fullscreen and windowed... anyone have any ide?
-Anders-Oredsson-Norway-
v_d_d
v_d_d
I think for the WS_POPUP to work, you need to provide the parent HWND. WS_POPUP is normally a child window.
Will O
Will O
Maybe try WS_POPUPWINDOW instead? Not sure...
uncutno
uncutno
strange.....

the window works... i found that:
in windowed mode i se the perspective drawings.. (spinning cube)
and in fullscreen mode, i se the ortho drawings.. (stretched texture)...

this is probably a stupid error from my side... i post if i find anything interesting...

thanks!
-Anders-Oredsson-Norway-

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.