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

quick MFC/DirectX Question

This topic is 6032 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 have a class derived from a view class. With-in the OnCreate() handler I call my initialization for directx. This fails to create the device, and I realize that it''s due to the window not being created (if I call the function on a mouse click (after the view is created) it works like a charm). My question is, how do I get around this? Where should I call my Init function? Thanks in advance. Prairie

Share this post

Link to post
Share on other sites