I have a TFrame
with some components on it, and among all it I have a TPanel
and a TPaintBox
such that the PaintBox size is the same as the Panel.
I would like that user will see the Panel and not only the PaintBox.
The problem is that when I right click on the Panel and choose Control->Send to Back
, it doesn't work.
Any assumption, or suggestion for solution?
*I am working with Borland C++Builder 6.
TPaintBox
is aTGraphicControl
descendant. It has noHWND
of its own, it simply draws on itsParent
when theParent
is painted. As such, aTPanel
(which has anHWND
of its own) can never appear behind aTPaintBox
unless theTPaintBox
is a child of theTPanel
.