visual studio express versions don't support .rc files, but you can add them to your projct, just add new file and select Header file or something, then name the file to resource.rc and it will create one.
i think visual studio professional allows you to design dialogs with user interface and then add them to your project.
anyway, i prefere code blocks ide and gnu compiler, so you can try copy the code i gave into VS but it might need some tweeking :P