BOOL IsOptimizedDraw( );
Return Value
TRUE if the container supports optimized drawing for the current drawing operation; otherwise FALSE.
Remarks
Call this function to determine whether the container supports optimized drawing for the current drawing operation. If optimized drawing is supported, then the control need not select old objects (pens, brushes, fonts, etc.) into the device context when drawing is finished.