Archived

This topic is now archived and is closed to further replies.

ahbonk

VB.NET - DirectX in an MDI Child

Recommended Posts

Hi! I wanna ask rite... I got this window form in VB.NET that has DirectX code. I execute the thing and I see a rotating cube with texture. Everything''s cool and all. But then... If I were to have the following code in the MDI Parent... Dim NewMDIChild As New FormWithDirectX() NewMDIChild.MdiParent = Me NewMDIChild.Show() ...the whole form didn''t show up! How come? The funniest thing is: if I put a different window (DirectX-less) in the code, then it works! Huh?! BoNKing the nation!

Share this post


Link to post
Share on other sites
this may sound stupid, but have you set the form property ''MDI Child'' to ''True''?

ive only gotz the working model of vb 6(hahaha)(it really is kinda funny) and messed with MDIs, but why would you need to access dx in a child form?

------------------------------------------------------------
Hell is not a bad place to be
It has just been recently added to the attractions list

Share this post


Link to post
Share on other sites
Because I want to make a software like Lightwave...
in which I have 3D Models in a panel where only one part of the software is rendering the 3D Models, while at the side there''ll be toolbars and such

Anyone have any suggestions as to how I go about this?

BoNKing the nation!

Share this post


Link to post
Share on other sites