How do you get the SUNKEN_BORDER effect?

I'm wanting to incorporate a small x-y plotter that I have written in a panel.
At the present time, I just have the plotted region surrounded by a black box
using dc.DrawRectangle. This looks kind of bland. I would like to make the
plot region look sunken into the panel. Does anyone know how I could accomplish
this with the basic drawing tools?

Try drawing two rectangles, one dark and one light offset by one pixel
in each direction. i.e. draw a 75% gray rectangle starting at (10,10)
and a 25% gray rectangle starting at (11,11). Experiment with different
colors and different offsets.

ยทยทยท

On Wed, 2007-12-12 at 19:12 +0000, Regan Tackett wrote:

I'm wanting to incorporate a small x-y plotter that I have written in a panel.
At the present time, I just have the plotted region surrounded by a black box
using dc.DrawRectangle. This looks kind of bland. I would like to make the
plot region look sunken into the panel. Does anyone know how I could accomplish
this with the basic drawing tools?