Whats the C++ equivilent of VB's DoEvents?