c++mfcmessagebox

"Don't show this again" option in message boxes


In C++/MFC, what's the simplest way to show a message box with a "Don't show this again" option?

In my case, I just want a simple MB_OK message box (one OK button).


Solution

  • Or just use the SHMessageBoxCheck() function.