Mika,
It was the other way around. If I hold my left mouse key clicked on the
Title bar, the counter would update OK but if I use ListBox instead of
numeric counters, Listbox would not update. I will send the code, all I did
was add a ListBox to the example provided and inside thread function, update
both the numeric control and add new line to Listbox. If I don't keep left
mouse clicke dover title bar, both counter and listbox update ok. But if I
do hold the mouse key, only counter updates.
vishi
"mfukuchi" wrote in message
news:5065000000050000007ADA0000-1042324653000@exchange.ni.com...
> Hello Vishi,
> I modified the program as you described, and sent the control ID to
> the thread function. I did not have to hold left mouse key clicked o
n
> Title bar to see all the counters update. If you want, you could send
> your code through www.ni.com\ask so that I can take a look at it.
>
> Mika Fukuchi
> Application Engineer
> National Instruments