Solved

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

Posted on 2003-10-21
4
169 Views
Last Modified: 2013-11-20
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
Comment
Question by:Bharu
4 Comments
 
LVL 9

Accepted Solution

by:
Priyesh earned 50 total points
Comment Utility
Do this on the OnInitDialog of your PropertySheet

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

    ModifyStyleEx(0, WS_EX_CONTEXTHELP) ;

    return TRUE ;
}
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

This is to be the first in a series of articles demonstrating the development of a complete windows based application using the MFC classes.  I’ll try to keep each article focused on one (or a couple) of the tasks that one may meet.   Introductio…
Introduction: Dynamic window placements and drawing on a form, simple usage of windows registry as a storage place for information. Continuing from the first article about sudoku.  There we have designed the application and put a lot of user int…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now