Compiling under 8.03, i had the lines
which worked perfectly, when I compiled under 8.04 I saw that at idle my applications cpu usage was about 99% until I selected something in the UI, then it dropped down to zero. I then changed to this:
And the problem whent away. I replaced 1 with 0 and the problem came back. The help file (beautiful chm file btw) states
So my question is what is correct? The doc or the code contains a defect and I am not sure which one..
Thanks
Code:
Do Dialog DoEvents 'the dialog was destroyed Dialog Get Size hMainDialog To x, x Loop While x
Code:
Do Dialog DoEvents 1 to Count& Dialog Get Size hMainDialog To x, x Loop While x
If sleep& is not specified then the current thread will be paused for 1 mSec
Thanks
Comment