Skip to main content
gamedev.net
🔒 Locked

Windows (win32)

Started by LowRad 1 reply 250+ views
Original Post
LowRad
LowRad
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
simon_brown75
simon_brown75
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
LowRad
LowRad
Thanks Dude !!

LowRad

Topic Locked

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

Sign in to reply to this topic.