using opengl for animation in mfc application