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 » ArrayCtrl speedy writes cause crashing...why?
Re: ArrayCtrl speedy writes cause crashing...why? [message #34229 is a reply to message #34228] Thu, 03 November 2011 22:59 Go to previous message
Sender Ghost is currently offline  Sender Ghost
Messages: 301
Registered: November 2008
Senior Member
Hello, Kevin.

Assuming, this is multithreaded application, it might have synchronization problems.
In this case you could add the GuiLock variable in the beginning of your updating function (or method):
App::OnUpdateData()
{
	GuiLock __;
	// Ctrls updating below
}

r1kon wrote on Thu, 03 November 2011 18:27


Also, I've noticed as I'm writing to the array control so quickly and such, it seems to be "flickering" quite a bit. Is this normal? Is there a better way to set the data? It seems that it is refreshing the entire table each time for some reason.


There is some discussed topic about this:
"howto best Ctrl Refresh handling w/ MT & very frequent refreshes".
 
Read Message
Read Message
Previous Topic: Control Drag&drop problem
Next Topic: How to set the color of a row
Goto Forum:
  


Current Time: Sat Apr 20 16:17:29 CEST 2024

Total time taken to generate the page: 0.03008 seconds