Jump to content
  • Advertisement

Archived

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

The Bag

adding MFC interface to existing program - how to call MFC commands from original

This topic is 5541 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''ve added an MFC interface to an existing program (command line) and can setup and run the program - since all the options are set before the program runs. How would I call MFC commands from the original part of the program, eg to step a progress bar? Also is there a way of creating a text output box in the MFC interface where I could display the couts from the original program. thanks

Share this post


Link to post
Share on other sites
Advertisement
In terms of an MFC window, yes, one solution is to include windows.h and instantiate a window via Create(). As for cout, one solution is a console window.

Kuphryn

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!