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) » bug with displayPopUp with MT
Re: bug with displayPopUp with MT [message #22758 is a reply to message #22755] Tue, 11 August 2009 19:38 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14263
Registered: November 2005
Ultimate Member
cocob wrote on Tue, 11 August 2009 10:32

I have some problems with my multithreaded app.

It seems to be related with tooltips when somes Ctrl are not totally initialized by the other thread.

For the moment i have solved my problems (crashs) with this fix.

LabelBase.cpp line 449:

void DisplayPopup::Paint(Draw& w)
{
	Rect r = GetSize();
	w.DrawRect(r, SColorPaper);
	if(display) display->PaintBackground(w, r, value, ink, paper, style);
	r.left += margin;
	if(display) display->Paint(w, r, value, ink, paper, style);
}



Do you conform to synchronization rules?

Any Ctrl related operation needs GuiLock, are you aware about that?

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Using openssl functions on U++
Next Topic: Named HTML Colors [FEATURE REQUEST].
Goto Forum:
  


Current Time: Sun Jun 29 20:00:17 CEST 2025

Total time taken to generate the page: 0.04558 seconds