G
Guest
Hello All!
So I'm trying to figure out threading. I got the basic idea of how to start
new threads, but getting a little lost with the form thing. I understand the
that form runs a single thread, and can't start a new thread from an object
within a form.
So, I have 8 pictureboxes on a form. The pictureboxes have, well, picture
images in them. So when the form loads, they load up one at a time. So I'm
thinking, start a thread for each OnPaint event for each box. But when I try
to start to set it up as a thread I get a Sub Delegate message tip.
I have read alot of articles, but not sure still of what to do. I tried to
call up the OnPaint event in a class, but that doesn't work. As far as I
know I might be going about this all wrong. I think if I start each OnPaint
event for the picture box on a thread, they should all load up at the samr
time. Maybe I'm wrong.
So if anybody has any ideas, or good article they have know of.
I would appreciate it.
TIA!
Rudy
So I'm trying to figure out threading. I got the basic idea of how to start
new threads, but getting a little lost with the form thing. I understand the
that form runs a single thread, and can't start a new thread from an object
within a form.
So, I have 8 pictureboxes on a form. The pictureboxes have, well, picture
images in them. So when the form loads, they load up one at a time. So I'm
thinking, start a thread for each OnPaint event for each box. But when I try
to start to set it up as a thread I get a Sub Delegate message tip.
I have read alot of articles, but not sure still of what to do. I tried to
call up the OnPaint event in a class, but that doesn't work. As far as I
know I might be going about this all wrong. I think if I start each OnPaint
event for the picture box on a thread, they should all load up at the samr
time. Maybe I'm wrong.
So if anybody has any ideas, or good article they have know of.
I would appreciate it.
TIA!
Rudy