Fixed the solution from Win32 Console Project to Win32 Project. The default window is opened.
Added doxygen configuration to the project. Just call the doxyfile and the documentation will be created in the 'doc' subfolder. The folder is added to gitignore, because the documentation does not need to be in the github and create e.g. conflicts.