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
BharuAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

PriyeshCommented:
Do this on the OnInitDialog of your PropertySheet

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

    ModifyStyleEx(0, WS_EX_CONTEXTHELP) ;

    return TRUE ;
}
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
System Programming

From novice to tech pro — start learning today.