Solved

unique identifiers for fields

Posted on 1998-11-08
4
166 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
Comment Utility
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
Comment Utility
Were are these help IDs found
0
 
LVL 5

Author Comment

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

Accepted Solution

by:
rwilson032697 earned 100 total points
Comment Utility
Its the HelpContext property - every visual component has it...

Where else would your controls be?

Cheers,

Raymond
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Suggested Solutions

Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
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.
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

771 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

16 Experts available now in Live!

Get 1:1 Help Now