The document describes how to add paint functionality to a MFC application by tracking mouse movement and drawing lines. It involves adding x and y integer variables to track mouse position, initializing them in the constructor, updating them on mouse move events, and redrawing on right click by calling RedrawWindow(). Lines are drawn between the current and previous mouse positions on left mouse button drag events using the stored x and y values.