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 » RichText,QTF,RTF... » Fatal error appear every time when use SetQTF
Re: Fatal error appear every time when use SetQTF [message #36623 is a reply to message #36622] Thu, 21 June 2012 17:06 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14267
Registered: November 2005
Ultimate Member
Well, first of all, commenting out // GuiLock is wrong.

I guess you might have done this because it seemed to be frozen - it would be no wonder as GuiLock, as written, would cover Sleep call, leaving virtually no chance for main thread to run...

First of all, try:

	for(;;) 
	{
                {
		GuiLock __;
		if(Thread::IsShutdownThreads())
			break;
		
		String last = view.GetQTF();
		String now = last + "&[8 [@4 show the qtf string ] ]";
		view.SetQTF(now);
		view.ScrollEnd();
		}
		Sleep(20);
	
	}

[Updated on: Thu, 21 June 2012 17:07]

Report message to a moderator

 
Read Message icon8.gif
Read Message
Read Message
Read Message
Read Message
Previous Topic: Printing in Windows - selecting 2 copies, prints 4 copies
Next Topic: I really don`t know how to UPDATE the RichText,help!!
Goto Forum:
  


Current Time: Wed Aug 13 19:14:58 CEST 2025

Total time taken to generate the page: 0.08836 seconds