GXDrawButton
void GXDrawButton(CDC* pDC, int x, int y, int dx, int dy, BOOL bPressed, COLORREF rgbFace);
pDC
Points to the device context.
x
x-coordinate.
y
y-coordinate.
dx
Width.
dy
Height.
bPressed
Specifies if the button is to draw in a pressed state.
rgbFace
Specifies the color of the button.
Remarks
Draws an area with the visible effect of a button.
You can call this function if you want to draw cells with the visible effect of a button. The cells need not look gray, you can specify any face-color with rgbFace.