by norwy » Mar 12, 2008 @ 6:37pm
I found this method in the CGApplication class documentation :
CGapiApplication::Pause (Win32 only)
Pauses the application and skips the call to CGapiApplication::ProcessNextFrame in the subclass.
virtual HRESULT Pause(DWORD dwNumFrames);
Parameters
dwNumFrames
The number of frames to skip the call to CGapiApplication::ProcessNextFrame in the subclass.
Return values
The return value is S_OK.[/b]
I think that call this method is the right way to use the Sleep() method.