There are multiple options, at first you have the choice to use a larger framework or the Winapi directly. If you choose the latter then have a look at this tutorial, it shows it better than I could.