I have tried to draw on the top of a dockwindow
I have something like this.
class main : public DockWindow
{
and
void main::Paint(Draw& w)
{
w.DrawEllipse(dot_x,dot_y,12,12,Black());
DockWindow::Paint(w);
}
but this does not work unless there is empty space between the docked windows..
the size of the Window tends to be zero....if everything is docked.
I would like to draw on the top of them.
A.
Hi,
not exactly sure if that is supported at the moment, BUT the obvious quirk in above code is that DockWindo::Paint overpaints your ellipse. Try to swap those lines.