Jump to content
  • Advertisement

Archived

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

Neen10do

toolbar in full mode

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

im trying to create a game using directx7 and directdraw. when i set the co-op level to full screen mode the window still shows the toolbar (the minimize, max, and x buttons). i havent created any surfaces yet though. will the toolbar go away when i start the primary and back buffers? or do i have to do another step for the window bar to disappear? i code therefore i am.

Share this post


Link to post
Share on other sites
Advertisement
The titlebar will not show up if you do not create the window with the correct styles. What works for me is WS_POPUP|WS_VISIBLE and WS_EX_TOPMOST for a fullscreen ddraw application. The desktop may still show up until you write something to the framebuffer.

Share this post


Link to post
Share on other sites
Call FlipToGDISurface()

...then cross your fingers and hope the driver wasn''t "optimised" for Quake and that the chip isn''t 3Dfx based - in those cases you''ll have to stop mixing Windows UI with custom rendering. The Windows UI looks damn ugly at 640x480 anyway, I''d only show it during fullscreen exclusive mode if I was *really* desperate and there wasn''t any other way...

--
Simon O''Connor
Creative Asylum Ltd
www.creative-asylum.com

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.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!