title: How Can I execute my code on MessageBox Ok click
body: <p>This might be very simple but I am new to MFC.</p>
  
  <p>I have a messagebox:</p>
  
  <pre><code>MessageBox("Do You Want to Save the Configuration Changes","NDS",1);
  </code></pre>
  
  <p>which have Ok and Cancel option. I want to write my code on click of OK</p>