Solved

unique identifiers for fields

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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Doc'in system (example?) BA 7 106
wait notify demo infinite loop 3 110
Use of condition with 'serial' in ansible 2 58
changeXy challenge 13 81
Introduction: Hints for the grid button.  Nested classes, templated collections.  Squash that darned bug! Continuing from the sixth article about sudoku.   Open the project in visual studio. First we will finish with the SUD_SETVALUE messa…
If you use Adobe Reader X it is possible you can't open OLE PDF documents in the standard. The reason is the 'save box mode' in adobe reader X. Many people think the protected Mode of adobe reader x is only to stop the write access. But this fe…
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.
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.

786 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