• Advertisement

Archived

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

Making 2 windows

This topic is 5949 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 am making 2 windows for an app, and I am putting controls in the main window. The 2nd window(hwndc to pop up when I press a button. When the 2nd one pops up, it has the same controls as the first. Do I need to make a different proc for the 2nd one? What would that look like?

Share this post


Link to post
Share on other sites
Advertisement
Basically the same thing, you just need to register a new class for that window, and just call CreateWindow() on it.

Share this post


Link to post
Share on other sites

  • Advertisement