Home » U++ Library support » U++ Library : Other (not classified elsewhere) » bug with displayPopUp with MT
bug with displayPopUp with MT [message #22755] |
Tue, 11 August 2009 16:32 |
cocob
Messages: 156 Registered: January 2008
|
Experienced Member |
|
|
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);
}
|
|
|
Re: bug with displayPopUp with MT [message #22758 is a reply to message #22755] |
Tue, 11 August 2009 19:38 |
|
mirek
Messages: 13980 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
|
|
|
|
|
|
Goto Forum:
Current Time: Wed May 15 05:47:21 CEST 2024
Total time taken to generate the page: 0.02783 seconds
|