title: Efficient way to save Edit Control user input and restore when application restarts C++ Visual Studio
body: <p>I just got tossed on a project written in C++ on VS. I have a dialog box with Edit Controls where a user enters a MAC address. I would like to save this info when an "on click event" occurs. This is so that when the application exits, this is saved and can be loaded again. I would naturally save this to file and use basic file I/O. </p>
  
  <p>Question is, "What is the most efficient way to do this?". My researched ended up in "DialogResult" property, but I could not find this property in VS 2015</p>
  
  <p><a href="https://msdn.microsoft.com/en-us/library/65ad5907(v=vs.100).aspx" rel="nofollow">https://msdn.microsoft.com/en-us/library/65ad5907(v=vs.100).aspx</a></p>
  
  <p>All help greatly appreciated,</p>
  
  <p>-SDEV</p>