Jump to content
  • Advertisement


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


Simple Windows Question

This topic is 5774 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 am currently just starting learning windows programming and have been mucking around with MessageBox commands. Just wondering how to check the return value of a messagebox, for example this is a part from my code: ...... int choice = MessageBox(NULL,"Click yes or no","hello", MB_YESNO); if (choice==ID_YES) ..... I''ve tried that but it doesn''t work, do I have to go deeper into windows and use handles and the like to make this work, or is it possible with just the above code? (I think I got the ID_YES part wrong) Ain''t important, just wondering..

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!