>Nigel,
>
>Look up the topic Yield and Sleep in infoviewer.
>
Thanks, David. Nice to see somebody looks in VS Forum. I could not find Yield in my help (I am actually using Borland). I did find a reference elsewhere which said that Yield has no effect in Win32 but PeekMessage in Win32API Help should be used instead. I will have a play with this. Thank you for pointing me in that direction,