It's easy once you get to know the windows message handling
[I will assume you checked out http://www.winprog.org/tutorial/ it's good]
Hey read everything and if you need more come back here..
You cant compile GUI like dos, you will have to change some options in your compiler or you will get an error on make like:
WinMain() not referneced ..... bla...bla or someting like that