Sign in to follow this  

Showing DDS files on a Dialog window

This topic is 4353 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 guys... I am developing a Graphic Editor in VC7++ to edit some models for a DX7 Engine... I am dealing now with DDS textures... of course I can use and render them in the engine viewport and during editing... but I would like to create a Dialog Window where the DDSs are shown, so that the user can choose which one to use ( not to edit it )... Of course, seems the only graphical functions I found in Windows SDK, without creating usual DirectDrawSurfaces, are dealing BMPs... There is any code around, or any lib, or something to load and show a DDS on a Dialog Window...? tnx for any Info/help [R]ed

Share this post


Link to post
Share on other sites
You could look at the source code for DXTex: Utilities\Source\dxtex and see how they present it in the GUI.

I'd imagine that getting DirectDraw/Direct3D to decode it and then use one of the GetDC() type functions would be the simplest.

hth
Jack

Share this post


Link to post
Share on other sites

This topic is 4353 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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this