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) » Strange behaviour of ColumnList
icon5.gif  Strange behaviour of ColumnList [message #7436] Fri, 29 December 2006 12:35 Go to next message
fallingdutch is currently offline  fallingdutch
Messages: 258
Registered: July 2006
Experienced Member
when starting the app and NOT moving the mouse accross one of the toolbars the ColumnList does not react after moving the mouse accross one of the toolbars the ColumnList works as it should.

Bas
Re: Strange behaviour of ColumnList [message #7441 is a reply to message #7436] Fri, 29 December 2006 19:39 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
The problem is caused by:
void ListViewer::Paint(Draw& draw) {
	Size sz=GetSize();
	draw.DrawRect(0,0,sz.cx,sz.cy,SBlue);
	if(!cl.IsCursor())
		cl.SetCursor(0);
}


Altering cursor in Paint methods leads to calling Refresh, which makes the whole painting system confused...

(Yes, it is repainting bug, clicks are in fact OK, just the ColumnList does not get repainted).

Mirek
Re: Strange behaviour of ColumnList [message #7442 is a reply to message #7441] Fri, 29 December 2006 21:51 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Update: After further thinking, while your code is unusual, U++ should cope with it (and it does in win32). Will fix that ASAP.
Re: Strange behaviour of ColumnList [message #7443 is a reply to message #7442] Fri, 29 December 2006 22:47 Go to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Fixed.
Previous Topic: HttpClient and HttpServer gzip support [REQUEST]
Next Topic: U++ 612-dev 3 HomeBudget run time problem
Goto Forum:
  


Current Time: Fri Apr 19 07:59:40 CEST 2024

Total time taken to generate the page: 0.03625 seconds