Simple question about pausing for a few seconds
I want to pause my process for a few seconds but I'm not too sure of the syntax for doing this. I have looked in the help files and on MSDN but if I type pause in then a mountain of links come back.
Can anyone help?
I am using VC++ 2003 .Net on XP Pro.
If you want to pause, and not do anything at all (Not even update the window), then use Sleep(delay) where delay is in milliseconds.
If you want to have the window updated too, then it's a bit more complicated since you probably don't want to respond to some window messages (like WM_COMMAND).
If you want to have the window updated too, then it's a bit more complicated since you probably don't want to respond to some window messages (like WM_COMMAND).
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement