GroupBox border thickness?

  • Thread starter Thread starter MikeY
  • Start date Start date
M

MikeY

I'm trying to find a way for changing the thickness of the groupbox borders.
I've searched on this site but can't seem to find anything of this subject.
Does anyone have a suggestion.

Thanks in advance

MikeY
 
The GroupBox is a custom drawn .Net control. You will need to hook into the
Paint event, or derive from the GroupBox and override the OnPaint method,
determine where the existing lines are being drawn and then draw overtop of
them with wider lines to achieve the thicker border. Or you can create a
custom control and paint everything yourself. A GroupBox implementation,
that was written for the compact framework but can easily be adapted for the
full framework, can be found here.
http://www.opennetcf.org/SourceBrow...ot/Source/OpenNETCF.Windows.Forms/GroupBox.cs
 
Back
Top