10-07-2006 04:18 PM
10-08-2006 03:42 AM
Hi Andras, your observations are right, when you are in a loop like your while is, the system executes only the instructions inside the loop and nothing else: neither system events nor drawing events are processed unless they are explicitly permitted. As you have noted, SetCtrlVal does not explicitly updates the user interface. I have never made specific tests on this, but in my opinion DisplayPanel implies an overhead on the system since it redraws the entire panel, I suggest you to use ProcessDrawEvents() instead, that only updates graphical elements that need to.
10-08-2006 04:07 AM
10-09-2006 08:30 AM