| 
 | virtual | 
Called by the framework when it needs to draw the caption bar border.
Override this function in a derived class when you want to customize the caption bar appearance.
| pDC | A pointer to a device context. | 
| pBar | A pointer to a caption bar whose border is being drawn. | 
| rect | The bounding rectangle of the border. | 
| clrBarBorder | A color used to draw the border. | 
| bFlatBorder | Specifies whether the border is flat (TRUE) or 3D (FALSE). |