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

Context help in CScrollView

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
NotJeff
Asked:
NotJeff
1 Solution
 
jbalagopCommented:
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: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

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