Solved

Context help in CScrollView

Posted on 1998-10-13
1
227 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Technology Partners: 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!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
xyBalance chalenge 58 105
Doc'in system (example?) BA 7 129
tripleUp challenge 7 97
ShiftLeft challenge 21 96
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: Dialogs (2) modeless dialog and a worker thread.  Handling data shared between threads.  Recursive functions. Continuing from the tenth article about sudoku.   Last article we worked with a modal dialog to help maintain informat…
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.

710 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