Jump to content
  • Advertisement

Archived

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

wild_pointer

Dialogs in console apps

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

I''m working on a project and we''re using world tool kit which is built on top of glut. As a result, I don''t have much access to windows. Is there any way I can have something like a MessageBox that would let a user specify a file? A simple text box would be fine. Sorry if this is a stupid question, I don''t have much experience with the windows api.
[My site|SGI STL|Bjarne FAQ|C++ FAQ Lite|MSDN|Jargon]
Ripped off from various people

Share this post


Link to post
Share on other sites
Advertisement
Take a look at the dos edit(open a command promt, and type edit), it can all be done with pure ascii.

No, back to reality, you don''t want to do that. Even if you create a console app, it''s really a full windows application. So you could just use the standard file selection dialog, look at GetOpenFileName, in msdn.

Share this post


Link to post
Share on other sites
Thanks! I know it''s just a windows app, but because of the way our library works i didn''t really have what I needed to make a dialog, which is what I was trying to do before.

That is exactly what I wanted though. I was scanning msdn for something I could use but I guess you can''t blame me for not guessing what GetOpenFileName does.

Thanks again.



[My site|SGI STL|Bjarne FAQ|C++ FAQ Lite|MSDN|Jargon]
Ripped off from various people

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!