Hi Ranier,
I think the key issue is the same. While the Main Thread were blocked by
IupMainLoop(), the msg_consumer() won't get a chance to be called, unless
set up the timer or idle function.
Kind regards
Andy
> --
>
> Message: 2
> Date: Wed, 7 Oct 2015 13:15:43
Hey guys,
Please ignore the quoted contents, I don't know why I can't receive the
thread emails but the Iup-users Digest.
Well when I read the source code of IupMainLoop() expecting some clue, I do
find a clue, iupdrvSetIdleFunction(). I guess it will be called inside
IupMainLoop() when it's
Hi,IupGetText, can be have more one parameter: int maxlen?
I think It would be an improvement.Currently is necessary a buffer of 10240
characters, to avoid bug.
Example:char notes[256];
IupGetText("Test", notes); // <- crash if user typed more than 256 characters!
Would be better:
Yes, I know. I've been avoiding that for sometime now for backward
compatibility. But I guess I won't be able to run from it for many long...
:)
Best,
Scuri
On Wed, Oct 7, 2015 at 9:47 AM, Ranier VF wrote:
> Hi,
> IupGetText, can be have more one parameter: int
Hi Andy,
My timer runs ever 10ms and goes through a if-then block to parse
the commands received from the other thread. There are not many commands
something like 10 I think but I do pass tables with data with a command.
Since it is just user interface related I have not noticed any lag