Could someone clarify the proper usage of WS_GROUP style. I have a dialog box with 2 sets of mutually exclusive radio buttons. The first set has 3 buttons and the second set has 5 buttons. I have set the style parameter of the first control in the first set of radio button as follows:

WS_CHILD|WS_GROUP|WS_AUTORADIOBUTTON|WS_TABSTOP

and the rest of the radio buttons to be

WS_CHILD|WS_AUTORADIOBUTTONS

Does WS_GROUP have to come in pairs - meaning should the last control of the radio set also have the WS_GROUP styling or should the control immediately following the last control of the set have WS_GROUP styling.

Would it be possible to draw a horizontal seperator line inside a dialog box using createwindowex?

cheers,

bala