Re: Starting and Stopping an Automated Process in Win32Lib

new topic     » goto parent     » topic index » view thread      » older message » newer message
DerekParnell said...
euphoric said...

I want to be able to click a button which starts an automated process (within the same program/window), but also have a "Stop" button that will stop it.

Can somebody (like Derek) put together a small sample of how I might accomplish that? Or point to a demo that does this already?

Thanks in advance! smile

I'm not quite sure what you are asking for, sorry.

No, you figured it out perfectly.

DerekParnell said...

I'm guessing you want to click a button to start an independent thread within the current process, and press a button to signal that thread to stop. Depending on how independent you wish the thread to be, it could be done quite simply. Here is one suggestion ...

Yes, perfect.

Thank you, Derek! I'm going to try to adapt my current program to use this paradigm. Let's see what happens... smile

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu