I'm using the wizards to show the user a few options before running a long process. I decided to catch EVT_WIZARD_PAGE_CHANGING and start the process if the page is just the last one, reading previous parameters from global variables. The process starts doing work for a few minutes informing of phase changes with BusyInfo boxes.
This runs fine. However, while the boxes are being shown, the user can still press the cancel/continue/backward wizard buttons, and the wizard will show the page. So it looks like the catching of the event is running in a different thread than the wizard's interface.
How could I try blocking the interface of the wizard while the process is crunching numbers? I've read http://www.manning-sandbox.com/thread.jspa?messageID=57927 and tried it, but for some reason I'm not finding the correct IDs for all of the interface buttons. Plus later I need to restore their state, and maybe I'm doing this incorrectly behind wizard's back.
···
--
Rastertech España S.A.
Grzegorz Adam Hankiewicz
/Jefe de Producto TeraVial/
C/ Perfumería 21. Nave I. Polígono industrial La Mina
28770 Colmenar Viejo. Madrid (España)
Tel. +34 918 467 390 (Ext.17) *·* Fax +34 918 457 889
ghankiewicz@rastertech.es *·* www.rastertech.es <http://www.rastertech.es/>