Pretty old but working OpenGL sample GLEasy from MSDN -
OpenGL I: Quick Start Sample[
^]
Shows rotating figures (cube, pyramid, dodechahedron) in MFC. No buttons, but with Toolbar, Status bar and Menus.
To make default Debug version, run -
C:>nmake /f GLEASY.MAK
Otherwise it generates error -
GLEASY.MAK(51) : fatal error U1007: double quotation mark not allowed in name
Stop.
If you also want to learn a bit of OpenGL programming in Windows, here is it to help -
OpenGL III: Building an OpenGL C++ Class[
^]
and
OpenGL reference[
^]