Jump to content
  • Advertisement
Sign in to follow this  

VB - modal dialog boxes

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

This little question has been driving me nuts for a while, so I figured I would ask. I have created a custom dialog box in VB. I use the MyDialog.Show(vbModal) method to pop it up and wait for the user to choose something. Now, how the heck do I find out what the user clicked??? In VC++, this was just a matter of looking at the return value of the DialogBox() function. But the Show method does not return anything! So how do I know if my user clicked OK or CANCEL? Thanks, BrianH

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.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!