If you are trying to draw a focus rectangle for your control and whether it will be visible when manipulating your control after adding it to the form, then the Gaijin42 approach should work.
, ,...
OnPaint , OnPaint, ( ).
Paint , , ( , VS2005):
, . . OnPaint .. .
- . VS2005 , , .