Hi,
I looked at your project, and after some little modifications it works. I modified the calling callback this way:
int CVICALLBACK Popup (int panel, int control, int event,
void *callbackData, int eventData1, int eventData2)
{
int left, height,width;
if (event != EVENT_COMMIT) return 0;
child1Handle = LoadPanel (panel, "child.uir", PANEL1);
child2Handle = LoadPanel (child1Handle, "child.uir", PANEL2);
GetCtrlAttribute (panel, control, ATTR_LEFT, &left);
GetCtrlAttribute (panel, control, ATTR_WIDTH, &width);
SetPanelPos (child1Handle, 0, left + width + 20);
DisplayPanel(child1Handle);
SetPanelPos (child2Handle, 10, 10);
DisplayPanel(child2Handle);
return 0;
}
In my opinion your panels were loa
ded but were not visible 'cause outside the boundary of the parent panel.
In order to check the behaviour of the program, I modified the background color of the first child panel so to see if and were was it displayed, and looked at the return code for LoadPanel and DisplayPanel functions (that were both 0), next I put it in a 'good' position inside the parent panel.
The same with the second one.
Regards
Roberto