Jump to content
  • Advertisement
Sign in to follow this  
zeybey1

Opening a Win32 window with SDL?

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

So I've started on a simple top down game engine and am now starting work on a level editor. I'm trying to find some way to get user input so I can type out which files to load and save. I've learned a lot about SDL and c++, but still am not sure exactly how to accomplish this.

My question to you: Is it possible to use Win32 windows made with the .net framework and SDL in one application? So that I can open up win32 popup windows that say "Which file would you like to open", or use other things in the windows toolkit. It would be much easier then using the SDL's true type font library and programming all the buttons and things manually. I've heard you could directly use SDL for this sort of thing(?).

Share this post


Link to post
Share on other sites
Advertisement
Yes, it's possible to use standard Windows API functions and classes in a program that uses SDL. If, for example, you wanted to call GetOpenFileName(), you would just include the windows.h header and call the function.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • 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!