-
Idle Time Handling
Hi,
I have a SDI application . My View class invokes a function of some other object say MyClassObj ( Not derived from any of the MFC ) where all the processing is done there and takes a long time to return to this view object again.
And in this MyClassObj I have many calls to AfxMessageBox . Now what I want is , if the Operator does not respond to this AfxMessageBox , I want to beep continuously so that the operator comes there to attend it immediately . I think I can't use the OnTimer fun here because my this class is not derived from any window class.can any one suggest me how to go about for this ?
Thanks ,
Yash.
-
Re: Idle Time Handling
You can use SetTimer() and pass it a TimerProc without using a window. Look up SetTimer in the docs.
Dave