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 » ArrayCtrl, HeaderCtrl & GridCtrl » Problem with Drag&Drop in ArrayCtrl
Re: Problem with Drag&Drop in ArrayCtrl [message #22608 is a reply to message #22599] Fri, 31 July 2009 19:04 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14266
Registered: November 2005
Ultimate Member
koldo wrote on Wed, 29 July 2009 07:16

Hello Mirek

I have tried both samples GuiMT amd GuiLock.

GuiLock is simpler but I have realized that while moving application window GuiLock gets stucked but GuiMT follows refreshing the window. This is a nice behaviour. What could it be ?

In the same GuiMT changing
PostCallback(callback2(f.gui, &Divisors::ShowResult, f.line, "working..." + r1 + r2));

with
f.gui->table.Set(f.line, 1, "working..." + r1 + r2));


The program works but GuiMT gets stucked.



Careful there. The real problem with MT is that some synchronization bugs happen with low probability - that means the app seems to work, but might crash once a hour or week.

Mirek

Best regards
Koldo


Addendum:
I have tested both in linux and the window is refreshed while it is moved

Addendum 2:
Compiled with MinGW GUIMT works but GUILock gets hanged with this message "Assertion failed in C:\upp\uppsrc\Draw\DrawLock.cpp, line 28 sGLockLevel > 0".

In post http://www.ultimatepp.org/forum/index.php?t=msg&th=4145& amp; amp;start=0& Mirek says

Quote:

You cannot do MT in mingw.


Is this just temporal ?. If not I think it would have to be indicated in the documentation[/quote]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
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: Substring formating in ArrayCtrl (SqlCtrl)
Next Topic: Right Click on GridCtrl
Goto Forum:
  


Current Time: Fri Jul 18 06:30:35 CEST 2025

Total time taken to generate the page: 0.04132 seconds