• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 192
  • Last Modified:

How do i get a help button "?" on PropertySheet Dialog

Hi
I have a dialog which is derived from CPropertySheet with number of prorety pages in it.I want to get a Context sensitive help button "?" on the top right corner of the dialog. how do i get that.
I ahve set  PSH_HASHELP and PSP_HASHELP property for Property sheet and proprty page resp.

What else i should be doing..

Regs
0
Bharu
Asked:
Bharu
1 Solution
 
PriyeshCommented:
Do this on the OnInitDialog of your PropertySheet

BOOL CMyPropertySheet::OnInitDialog()
{
   CPropertySheet::OnInitDialog() ;

    ModifyStyleEx(0, WS_EX_CONTEXTHELP) ;

    return TRUE ;
}
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now