c++ - How Can I execute my code on MessageBox Ok click -


this might simple new mfc.

i have messagebox:

messagebox("do want save configuration changes","nds",1); 

which have ok , cancel option. want write code on click of ok

if(messagebox("blah", "nds", 1) == idok) {    // hit okay } 

http://msdn.microsoft.com/en-us/library/ms645505(vs.85).aspx


Comments

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

html - Instapaper-like algorithm -

c# - How to execute a particular part of code asynchronously in a class -