CDC::FrameRgn
Visual Studio 2012
Draws a border around the region specified by pRgn using the brush specified by pBrush.
BOOL FrameRgn( CRgn* pRgn, CBrush* pBrush, int nWidth, int nHeight );
See the example for CRgn::CombineRgn.