Solved

unique identifiers for fields

Posted on 1998-11-08
4
171 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Folder Comparison 12 55
Expand data scrubbing tool 13 35
Change owner from userA to server Local Administrators 7 66
ffmpeg - "rtsp://...... Operation not permitted" 4 86
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: 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 …
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.
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

821 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