Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Library : Other (not classified elsewhere) » how can I draw on the top of a dockwindow?
Re: how can I draw on the top of a dockwindow? [message #50839 is a reply to message #50831] Tue, 08 January 2019 09:34 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
aftershock wrote on Sun, 06 January 2019 15:18
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.


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.

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: BUG dialog does not close
Next Topic: Using VisualStudio as a main IDE
Goto Forum:
  


Current Time: Sun Apr 28 23:52:15 CEST 2024

Total time taken to generate the page: 0.03236 seconds