1. 0% CPU means that app does nothing, so noting happens and nothing changes...
2. WM_PAINT message is sent from Windows to your App window ... when the system or another application makes a request to paint a portion of an application's window. So if you ignore this request and do nothing - northing is shown!