01-28-2009 10:52 AM
in my sampleGUI.h it has this value
PANEL_LOGO 60
...
I have a callback function as below:
int CVICALLBACK sample(int panel, int controlID, int event, void *callbackData, int evenData1, int event Data2);
The value of controlID is 60
In this callback function, how do I get the constant name PANEL_LOGO back?
Thanks
Solved! Go to Solution.
01-28-2009 11:25 AM
You can call:
char buf[256];
GetCtrlAttribute (panel, controlID, ATTR_CONSTANT_NAME, buf);
Luis
01-29-2009 01:12 PM