PDA

View Full Version : Urgent: Need help on this tutorial



JPSelter
05-26-2006, 04:32 AM
Hello! I was happy to find this great tutorial (http://www.bfowle.com/journal/modules/blog/index.php?post_id=4) 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!

JPSelter
05-26-2006, 07:21 AM
Solved :) 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 :)