Jump to content
  • Advertisement
Sign in to follow this  
d000hg

D3D on a dialog...

This topic is 5462 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I'm considering re-writing my level editor for a 3D terrain. Currently it's one big jack, written mostly in C and pure Win32. This means the windows functionality isn't perfect. I have a big window to render to with a menu, and a floating modeless toolbar. It's ok but when you use the toolbar it gets the focus and then you have to click on the main window before you can do stuff there. Kind of besides the point really, which is that I think I'll do it as MFC with a fixed array of buttons and such as part of one big dialog, which will contain a large pane to render on. So are there any D3D related issues I should watch for? Can I just put a control in the dialog and get its HWND to render on, or need I create a window in the program and attach that to the dialog? Or should I not have the editor as a dialog at all? How do things like MSWord have floating, dynamic menus?

Share this post


Link to post
Share on other sites
Advertisement
I recently made a 3d game editor. All you have to do to render to a different window is pass in the HWND in when you call present(). This allows you to have multiple windows displaying the scene from different angles.

I used C# to make my editor. C# is very easy and is great for windows apps.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!