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

how to close one window.

hello everyone.
i am making a program which has multiple windows.
how do I program that when one window pops-up, the other closes?
i am using Microsoft visual studio 2010, in a Win32 application.
i am not using a windows form.

kirenemook12
Newbie Poster
8 posts since Mar 2011
Reputation Points: 10
Solved Threads: 0
 
DestroyWindow(int windowID)
tkud
Posting Whiz in Training
235 posts since Sep 2009
Reputation Points: 13
Solved Threads: 46
 

that command destroys both windows, only one needs to be destroyed. And its a parent window which needs to be destroyed.

kirenemook12
Newbie Poster
8 posts since Mar 2011
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: