Seriously did you think that a single Windows API call does all of this work? You have to break down the problem into pieces. First, draw the axes, process mouse messages, etc. That "API" is called the Windows API, which is wrapped by MFC or ATL.
Last edited by Paul McKenzie; November 12th, 2012 at 06:42 PM.