How to create dynamically BackgroundWorkers in UI

  • Thread starter Thread starter R. Irudezu
  • Start date Start date
R

R. Irudezu

Guest
Hi all, this is my first question here so if i make a mistake please forgive me and warn about what mistake i did. I want to get used to here.


I'm using Visual C++ to make a desktop project. I have a variant(uncertain number of sub folders) folder like this:


  • Camera-1
  • Camera-2
  • Camera-n (and it goes)

I'm showing these folders in a ListBox-MainForm. If a Camera-n folder selected and button clicked, a BackgroundWorker move in and process images under this folder. So this is one BackgroundWorker. Count of folder depends how many devices connected.


My problem/question is how can i create a new BackgroundWorker when folder index selected a button is clicked. Is it possible to create new BackgroundWorker when UI is working?

I hope i could explained well my question. Thanks in advance.

Continue reading...
 
Back
Top