The Paint method is called automatically when the splitter receives WM_PAINT messages from its Parent. Paint draws the background color of the splitter, and if Beveled is true, draws a bevel along the movable edges. After drawing the background and bevel, Paint generates an OnPaint event.