Thanks! I see the panel information is there but I do not know how to use it properly.
The code below makes only one item checked on a menu (you pick one item and it is checked and any others are cleared).
Do you have any suggestions how I might do that to only the menu that was picked and not the other menu on the other panel?
void CVICALLBACK select_deselect_exclusive (int menuBar, int menuItem, void *callbackData,int panel)
{
int is_checked;
GetMenuBarAttribute (menuBar, menuItem, ATTR_CHECKED, &is_checked);
if(!is_checked)
{
int menu_id = 1;
find_menu(menuBar,menuItem,&menu_id);
while(menu_id !=0)
{
SetMenuBarAttribute (menuBar, menu_id, ATTR_CHECKED, 0);
GetMenuBarAttribute (menuBar, menu_id, ATTR_NEXT_ITEM_ID, &menu_id);
}
SetMenuBarAttribute (menuBar, menuItem, ATTR_CHECKED, 1);
}
}