Adding ‘What's This' Help to an MFC Property Sheet
(Give these instructions to your developer so he or she can add What's This? Help to a Microsoft Foundation Class property sheet.)
You can get the What's This? mark by overriding the OnInitiDialog in the derived PropertySheet class and calling ModifyStyleEX. Use the following steps to call ModifyStyleEX.
// TODO: Add your specialized code here and/or call the base class
return ModifyStyleEx(0, WS_EX_CONTEXTHELP);
If you choose "Context Sensitive Help" in the App Wizard, you will also need to comment out the Command Handler for the ID_HELP message in the derived Prop. Sheet Class:
// ON_COMMAND(ID_HELP, OnHelp)