I've written my first MFC app (hello world) and I have experimented with omitting the ShowWindow() and UpdateWindow() calls.
Omitting just the UpdateWindow() call from my InitInstance doesn't seem to make a difference - the OnPaint() is still called and everything seems to work just fine.
However, omitting the ShowWindow() calls does not show the window (no surprise there), but I got another side affect I did not expect.
Task Manager did not show my hello.exe in the list of Applications. It only showed hello.exe in the list of processes. Why doesn't it show up in the Applications? Must an application register itself somehow to become an application?