Try to check the installed styles in the resource file .rc. There you will see descriptions of dialog boxes and controls.By default. Group box should have no effects for displaying flat lines.
There must be something similar to this entry:
BEGIN
GROUPBOX "Static",IDC_STATIC606,37,85,188,40
END