Hi,
I am working with LabWindows/CVI 6.0 under Windows XP.
I would like to set "panel2" as a child panel to "panel1" and show both of them at program start on the screen. I defined both panels in one uir-file "test.uir". I call this code:
if ((panel1Handle = LoadPanel (0, "test.uir", PANEL1)) < 0)
return -1;
if ((panel2Handle = LoadPanel (panel1Handle, "test.uir", PANEL2)) < 0)
return -1;
DisplayPanel(panel1Handle);
DisplayPanel(panel2Handle);
However, "panel2" is not shown after executing this code, even if I call "SetActivePanel(panel2Handle)" after "DisplayPanel" it doesn't change its behaviour. What am I doing wrong? What do I have to do to show both panels?
Thanks in advance,
junimond