954,510 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

one line code request, closing the active child window

assuming there is only one child window, and if you want more than one. Typically one might think to use a destructor such as ~form(); however, in big programs there are many forms, and more then one kind of form can be active, ex: form1, form10, so destructors dont apply here, just need to know how you close the active child window which is a extremely simple request.

Thanks

smartintelleng
Newbie Poster
18 posts since Nov 2004
Reputation Points: 10
Solved Threads: 0
 

never mind, i just figured it out thanks anyways, it was ActiveMdiChild->Close();

smartintelleng
Newbie Poster
18 posts since Nov 2004
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You