Jump to content
  • Advertisement


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


Direct Draw and MFC

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

Well, since MFC uses the GDI to draw everything, you''ll probably have a bunch of problems unless you make a lot of custom controls that implement their own ways of handling erase background, draw item, and paint messages.

Share this post

Link to post
Share on other sites
There aren''t any problems with DDraw and MFC - theres even samples in the SDK demonstrating using the two together (DX8 its D3D which contains DDraw and in <=DX7 the samples show actual DDraw)

If you mean use MFC controls in a fullscreen exclusive environment, then forget it - as the poster above says they''re all GDI drawn.

If you mean the other way round where a DDraw surface is drawn onto an MFC control in a windowed mode app, thats not a problem. The control is still a window which you can draw on top of.

Simon O''''Connor
Creative Asylum Ltd

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

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

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!