• Advertisement

Archived

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

Simple Windows Question

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

  • Advertisement