<< Return to Main Index

< Return to Class Index

GXDrawRadioButtons

void GXDrawRadioButtons(CDC* pDC, CRect rect, LPCTSTR pszValue, LPCTSTR pszChoices, BOOL bDraw3D = FALSE);

pDC

Points to the device context.

rect

Specifies the rectangle to be drawn.

pszValue

Points to a string with the zero-based value.

pszChoices

Points to a string with the choices. All choices must be separated by a newline character.

bDraw3D

Specifies if the buttons should be drawn with 3d-look.

Remarks

Draws an area with the visible effect of several radio buttons. The text color is retrieved from the device-context.

The grid-component draws radio buttons this way. The radio button control’s CGXRadioButton::Draw method calls GXDrawRadioButtons to draw the cell with the visible effect of several radio buttons.

You can call this function if you want to draw cells with the visible effect of radio buttons.

See Also

CGXRadioButton

Macros

Class Overview | Class Members