|
|
Home » U++ Library support » U++ Library : Other (not classified elsewhere) » how can I draw on the top of a dockwindow?
how can I draw on the top of a dockwindow? [message #50831] |
Sun, 06 January 2019 15:18  |
aftershock
Messages: 143 Registered: May 2008
|
Experienced Member |
|
|
Hi,
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.
|
|
|
|
|
|
|
|
|
|
Re: how can I draw on the top of a dockwindow? [message #50848 is a reply to message #50847] |
Tue, 08 January 2019 22:47   |
aftershock
Messages: 143 Registered: May 2008
|
Experienced Member |
|
|
This is what happens, yes.. but this is not what I would like to achieve
but I would like to draw on the top of the docked windows as well
your code should grey the whole window....it does not do that.
R sign should dominate the whole window
You just drew on the remaining area as far as I can see,
Can you do it so...that the whole window is treated as one...
E,g, your roman image would appear on the top of roman number table?
[Updated on: Tue, 08 January 2019 22:51] Report message to a moderator
|
|
|
|
|
|
Goto Forum:
Current Time: Fri May 09 20:04:45 CEST 2025
Total time taken to generate the page: 0.02455 seconds
|
|
|