The Wink Control demonstrates creation of a Windows Foundation Class control. Moving the mouse pointer around the screen causes the eyes on this form-based control to follow the mouse movement.
The Wink Control illustrates use of:
Click here to extract the sample.