U++ framework
Do not panic. Ask here before giving up.

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: 14290
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: Sat Apr 25 23:47:03 GMT+2 2026

Total time taken to generate the page: 0.00477 seconds