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

Closing a simple application

I am trying to figure out how to automatically close a simple windows application in C.
I know how to create the window. But I have no idea how to get it to automatically close when it has opened without user input/interaction. Basically when it is called upon, I want it to close again.

Thanks

Drakarus
Newbie Poster
17 posts since Aug 2009
Reputation Points: 10
Solved Threads: 0
 

Depending on the kind of window you created, you issue the appropriate close commands from the Windows API.

octopusgrabbus
Newbie Poster
17 posts since Jul 2009
Reputation Points: 10
Solved Threads: 0
 

What API are you using?

chrjs
Junior Poster in Training
96 posts since Feb 2011
Reputation Points: 58
Solved Threads: 19
 

This article has been dead for over three months

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