How To Add Context Help Button (? Button) to Title Bar of CPropertySheet (244232)
The information in this article applies to:
- The Microsoft Foundation Classes (MFC), when used with:
- Microsoft Visual C++, 32-bit Enterprise Edition 5.0
- Microsoft Visual C++, 32-bit Professional Edition 5.0
- Microsoft Visual C++, 32-bit Enterprise Edition 6.0
- Microsoft Visual C++, 32-bit Professional Edition 6.0
- Microsoft Visual C++, 32-bit Learning Edition 6.0
This article was previously published under Q244232 SUMMARY
In order to add the Context Help Button(?) to the top right corner of a CPropertySheet so that it shows up on all the tabs of the sheet, you need to override the OnInitDialog method of the CPropertySheet and call the ModifyStyleEx() function with the first parameter of 0 and the second set to WS_EX_CONTEXTHELP.
Modification Type: | Minor | Last Reviewed: | 6/29/2004 |
---|
Keywords: | kbCSHelp kbDlg kbhowto KbUIDesign KB244232 |
---|
|