I have a multi-TAB wxWidjets application.
On one of the TABs there is a button called "CreateAndActivateThread".
As the name indicates, when the user presses this button I need to :
- Start a new thread that does some cyclic work
- Open a sub-Dialog windows with one button - "StopThread". This sub-dialog Shall "take over the application", so that the user can not press anything but "StopThread"
- When the user presses "StopThread", then I need to stop the thread, close this sub-Dialog, and allow the user to do everything as usual with the original multi-TAB application.
Any existing example ?
Thanks
zmau