Jump to content
  • Advertisement
Sign in to follow this  
nico26

DirectX in Win32 Control

This topic is 4814 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

Hi! How can I include a window containing DirectX into a Win32 dialog box? That means the dialog box should include one area with a DirectX window among other common Windows controls like buttons & text boxes. Are there any tutorials/links showing how to do that or could you please give me a quick example how this is done? Thanks & greetings, Nico.

Share this post


Link to post
Share on other sites
Advertisement
Hi there nico26,
How are you doing?

The Problem
Rendering DirectX into a win32 control.

The Solution
As long as you can create the device and pass it a valid handle to a control you can render to the control. You will have to check specifics though. I have rendered to panels and such but never to a dialog box but it's definitely doable.

Share this post


Link to post
Share on other sites
Quote:
I have rendered to panels and such but never to a dialog box but it's definitely doable.


It would also be fine to know how to render to panels. Do you have specific info on how to include DX to panels?

Cheers, Nico.

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.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!