Jump to content
  • Advertisement
Sign in to follow this  
subnet_rx

parent and child windows?

This topic is 5422 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'm having trouble with MFC and learning how to go from one sub-window to the next. Like if a user presses a button, I want a text editor to now be in the window. I know how to create the button, the event that hooks to the button, and the editor, but I can't find anything that tells me how to bring up the editor. Is it a totally new form, is there some argument passed saying that it's a child window of a parent?

Share this post


Link to post
Share on other sites
Advertisement
I'm creating a app with two buttons that display when you start it up, when I press one of these buttons, I'd like for a text editor to then be in the frame. I don't know how to do this. If I have a class setup for the editor, what command do I pass to the button to put it in the frame window?

Share this post


Link to post
Share on other sites
if u have the window already built then whats wrong with "ShowWindow()" ??? , by default I dont think windows operates on hidden windows , so u juss display the editor?

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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!