Improve company productivity with a Business Account.Sign Up

x
?
Solved

unique identifiers for fields

Posted on 1998-11-08
4
Medium Priority
?
183 Views
Last Modified: 2013-11-20
I am trying to create a help application.  The problem I am having is finding a unique identifier for a field in an application.  For example:  If someone clicked there mouse arrow over a field called "name" I would get some sort of handle for the field and that way I could give them help for the "name" field.  Many windows apps have this now.  It is the pointer with the question mark next to it.  

Also - the handle of the field needs to be unique and constant.  It can't be like the window id.  The window id in unique but changes when the application is closed and then reopened.
0
Comment
Question by:jamoville
  • 2
  • 2
4 Comments
 
LVL 12

Expert Comment

by:rwilson032697
ID: 1324364
Every control on a dialog has a help ID. This is used as the lookup into the help file. You can set these into the dialog in the dialog editor. When the user clicks on the help icon and then on your control it shoudl all happen automagically.

Cheers,

Raymond.
0
 
LVL 5

Author Comment

by:jamoville
ID: 1324365
Were are these help IDs found
0
 
LVL 5

Author Comment

by:jamoville
ID: 1324366
I can't assume every control is in a dialog.
0
 
LVL 12

Accepted Solution

by:
rwilson032697 earned 300 total points
ID: 1324367
Its the HelpContext property - every visual component has it...

Where else would your controls be?

Cheers,

Raymond
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

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

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

In this article, I'll describe -- and show pictures of -- some of the significant additions that have been made available to programmers in the MFC Feature Pack for Visual C++ 2008.  These same feature are in the MFC libraries that come with Visual …
Introduction: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
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.
From store locators to asset tracking and route optimization, learn how leading companies are using Google Maps APIs throughout the customer journey to increase checkout conversions, boost user engagement, and optimize order fulfillment. Powered …

606 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