2.8.3 Painting and Printing Code for Objects

Painting or printing an object requires at least one call to OleDraw. If your application currently draws objects, isolate this code to display or print these existing objects. Later, you can add a quick check for an OLE object in this procedure and call OleDraw as necessary. Isolating the code now will save you from tracking down every case where the application draws or prints an object.