Jump to content
  • Advertisement

Archived

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

LowRad

Windows (win32)

This topic is 6717 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 all, I have a Question (duh!) , I have a Win32 Project (not MFC), it''s a Landscape Rendering Terrain Demo. But i wanna add a Dialog before my Main Window (landscape) Start. In this dialog, i want to be able to choose from Glide, DirectX, OpenGL, and Choose a Resolution for the demo. For now, i have DRAW this window, i see it. But i see the Landscape demo in the back. So here my question, How can i display a Dialog First, Wait for User-Input, Then run my demo with what user selected. Thanks all, LowRad

Share this post


Link to post
Share on other sites
Advertisement
A "modal" Dialog Box will hold up execution of your program until the user makes a selection, whereas a "modeless" dialog will not. You use DialogBox() to create a modal dialog, and CreateDialog() to create modeless. I use DialogBox() to enable the user to pick a D3D renderer before my programs begin execution and it works a treat.

Edited by - simon_brown75 on June 27, 2000 9:44:22 AM

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!