HI,
Unfortunatelly the OpenGL functions will not allow you to create the control on a child panel. This is not clear on the documentation, but I'll file a correction request for that since it should be clear.
There are a couple of ways to get arround this, the first is to load the panel with no parent and them place it within the working are where the child panel resides. You may need to move this panels if the main panel is moved.
You can also use the Windows SDK function called SetParent() to confine a non-child panel within another panel. There is an example here that could help you.
Creating a Child Window Inside a LabWindows/CVI Top-level Panel to Simulate Multiple Document Interface (MDI) Applications
http://sine.ni.com/apps/we/niepd_web_display
.DISPLAY_EPD4?p_guid=B45EACE3DC9D56A4E034080020E74861&p_node=DZ52176&p_submitted=N&p_rank=&p_answer=&p_source=External
I hope this helps,
Regards,
Juan Carlos,
N.I.