I have a picturebox on a form and the Pctbox contains an array of a user defined control with a count of about 100. The application updates the Control array every minute and when the form is not minimized the update takes about 8 - 10 seconds. If the form is minimized, the update takes about 1.9 seconds.
I added 'LockWindowUpdate form.hwnd ' just before the update begins and unlocked it last line in the routine. But, it only removed about 1 -2 seconds. I expected it to be the same as if it were minimized.
Do I need to call 'LockWindowUpdate ...' for each control in the array ?
What else can I do to get the time down ?