Click to See Complete Forum and Search --> : Idle Time Handling


Yashvantha Havalimane
March 30th, 1999, 01:59 PM
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.

Dave Lorde
March 31st, 1999, 07:48 AM
You can use SetTimer() and pass it a TimerProc without using a window. Look up SetTimer in the docs.


Dave