To make a windows program:
Win32 API or MFC

To make a game/Hardware accelerated animation:
DirectX + one of above, or OpenGL + one of the above

OpenGL also has a library called GLUT that abstracts the windows stuff so you don't have to know Win32 API or MFC.