Skip to main content
gamedev.net
🔒 Locked

[.net] Sub Forms Problems

Started by Cacks Sep 17, 2006 at 1:17 PM 0 replies 600+ views
Original Post
Cacks
Cacks
Hi guys, I have a main form, & also a subform where I want to put an OpenGL renderer. In the main form's constructor I create the subform object. In the subform I have a panel which I want to use to hold my OpenGL renderer. But there is some problem with doing this. I think maybe the subform is constructed first then the main form. But if I use a main form event to construct the subform it works. Any1 know why this might be? Thanks.
Reject the basic asumption of civialisation especially the importance of material possessions
Cacks
Cacks
I am an idiot, I forgot I had to chage the compiler settings to allow unmanged code! I have been stuck for 2 weeks AHHHHHHH!
Reject the basic asumption of civialisation especially the importance of material possessions

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.