10-25-2005 09:49 AM
10-26-2005 01:56 AM
What are you looking for? Simply knowing the control ID or addressing controls by ID order instead of the associated name?
The IDs are macros created by the UIR editor while developing the UIR and are stored in the .H file associated to your UIR: you can explicitly open it in an editor window or select View >> Previev User Interface Header File while in the UIR editor. You'll find a couple of
#define PANEL 3
#define PANEL_COMMANDBUTTON 28
which are the macros for panels and controls and corresponding IDs.
But I personally discourage you in addressing controls by their IDs instead of the associated name: this theme has been discussed some times in this forum and you can make a search on it, but basically, consider that every time you add/remove controls in a panel or rearrange their z-plane order the IDs associated to the controls are automatically changed and your code should be rearranged accordingly.