Solved

unique identifiers for fields

Posted on 1998-11-08
4
167 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 100 total points
ID: 1324367
Its the HelpContext property - every visual component has it...

Where else would your controls be?

Cheers,

Raymond
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Shell script to login to remote m/c and execute commands 10 78
Window placement 17 75
sumHeights2  challenge 7 87
JQuery serialize and unserialize 8 49
Introduction: Load and Save to file, Document-View interaction inside the SDI. Continuing from the second article about sudoku.   Open the project in visual studio. From the class view select CSudokuDoc and double click to open the header …
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, f…

911 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

22 Experts available now in Live!

Get 1:1 Help Now