How to make a C++ program without a console or window?

So, I am just wondering, how do I make a program without the console, but have it able to do events and things. Would this be done in WINAPI?
Topic archived. No new replies allowed.