I have an SDI application. In my CDocument derived class I have a timer setup with
HWND hWnd, // handle to window
UINT_PTR nIDEvent, // timer identifier
UINT uElapse, // time-out value
TIMERPROC lpTimerFunc // timer procedure
What is the equivalent of hWnd for a CDocument class, ie one not derived from CWnd? Or do I somehow set up / associate the timer with my CView class?