In the link tab of your project settings, look for the project options box. Change the part that says /subsystem:console to /subsystem:windows. Next, switch to the C/C++ tab, and delete the line _CONSOLE from the Preprocessor definitions section, and replace it with _WINDOWS.

If memory serves me correctly, that should be enough to switch your project from a console app to a win32 app.