You are here:

C++/c++ message box

Advertisement


Question
i just started mfc application so started mfc dialog application so in that i added my new botton and its click function is added
MessageBox("my try");
but when i run it it doesnt run and on clicking nothing happens

Answer
Hi Dear Sam ,

 I Couldn't come up with a conclusion out of your question , but still you must ensure the return value of the message box , the return value must match with any of the matching condition that you have written ( ensure with the return value )

Please look at this simple programme .

http://www.codersource.net/mfc_afxmessagebox.html

Get back to me if the issue still persists
Thanks and Regards
Prince M. Premnath

C++

All Answers


Answers by Expert:


Ask Experts

Volunteer


Prince M. Premnath

Expertise

Years of research in C/C++ Will bring you all facts regarding , OOPS , SVGA , MOUSE , BIOS , IVT , Feel free to query me :-)

Experience

More than 5 years

Education/Credentials
MCA

©2012 About.com, a part of The New York Times Company. All rights reserved.