A "Help" pushbutton in a dialog box should be defined using the BS_HELP and BS_NOPOINTERFOCUS styles. The WM_HELP message is passed to IPF, which then determines the control window within the dialog box that currently possesses the input focus, and displays the help panel for that control window.