Solved

Context help in CScrollView

Posted on 1998-10-13
1
225 Views
Last Modified: 2013-11-20
I have an MDI application where the
documents are displayed in CScrollViews.

Within the CScrollView is a property sheet.
It is very similiar to the Output window
in VC++, it's what I was aiming for anyways.

My problem is that when I click on any of
the fields in my property pages and hit F1
nothing happens.

What I've to resolve this is to override
OnHelpInfo() in my property sheet, get
the controls help ID, and then call
AfxGetApp()->WinHelp(id, HELP_CONTEXT)
This works.

It doesn't seem like I should have to do
this though.  What am I doing wrong that
causes it not to work in the first place?
Perhaps I am not creating the CChildFrameWnd
or the CPropertySheet with the correct window
styles for it work properly?
0
Comment
Question by:NotJeff
1 Comment
 

Accepted Solution

by:
jbalagop earned 100 total points
ID: 1323274
Yes you have to define a HELP_ID for each control or text withing the MDI within which you would like context sensetive help.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
Introduction: Hints for the grid button.  Nested classes, templated collections.  Squash that darned bug! Continuing from the sixth article about sudoku.   Open the project in visual studio. First we will finish with the SUD_SETVALUE messa…
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.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

839 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