How do you get the SUNKEN_BORDER effect?

Regan Tackett

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?

···

----

You didn't say if you are drawing directly onto the panel - main frame
panel - or not.
If this is the case, I suggest to plot your stuff on a wxWindow, placed on a
panel. In that case, all the border styles of the plot container become available.

The http://wiki.wxpython.org/ has a few examples, a few others may be found
here http://spinecho.ze.cx/ > jmgraph .

Jean-Michel Fauth, Switzerland