Urgent: Need help on this tutorial

Hello! I was happy to find this great tutorial that shows me how to use OpenGL with MFC controls (Visual Studio C++ 6.0) But I have a big problem with it: The OpenGL Canvas is BEHIND a TabControl instead of being in the foreground. I think it has something to do with this function:

http://www.bfowle.com/journal/modules/blog/index.php?post_id=4#step6

I don´t know what to change. It´s creating a new child window inside my CDialog, but it´s not in the foreground. How can I change this? This is an urgent matter, thanks for any help!

Solved :slight_smile: I had the main class as parent. I needed to shift the create(rect, this) method into the child class that belongs to my TabControl. Now it´s visible again :slight_smile: