The information in this article applies to:
SUMMARY
Windows 95 provides DS_CONTEXTHELP as a new dialog box style to implement
context-sensitive help in dialog boxes. The Dialog Editor included with
Visual C++ versions 2.1 and 2.2, does not provide a way to set this style
when designing the dialog box. This article shows, by example, how to add
the context-sensitive help button to the title bar of dialog boxes.
MORE INFORMATION
If the DS_CONTEXTHELP style is set for a dialog box, Windows 95 adds a
question mark button to the title bar of the dialog box. When the user
clicks the question mark, the mouse pointer changes to a question mark with
a pointer. If the user then clicks a control in the dialog box, the control
receives a WM_HELP message.
NOTE: DS_CONTEXTHELP is just a placeholder. When the dialog box is created,
the system checks for DS_CONTEXTHELP and, if it is there, adds
WS_EX_CONTEXTHELP to the extended style of the dialog box.
Keywords : kbcode kbui kbMFC KbUIDesign kbVC kbVC210 kbVC220 kbVC400 kbVC410 kbVC500 kbVC600 kbfaq |
Last Reviewed: January 12, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |