04-11-2012 03:58 AM
Hi all,
i need to use the function GetCtrlAttribute to see if a radio button is diammed or not.
i don't see what i have to put as the forth argument: GetCtrlAttribute (panel, PANEL_text_in_situ, ATTR_DIMMED, ?)
best regards
Solved! Go to Solution.
04-11-2012 04:19 AM
Hi,
CVI does provide both a help and a variety of sample programs which are highly recommended
In your particular case, the dimmed attribute is of type integer, so you should use
int is_dimmed = 0;
GetCtrlAttribute ( panel, PANEL_text_in_situ, ATTR_DIMMED, &is_dimmed );