In a MDI app, I need to make updates to the active child document in the app's OnIdle() event. How can I get a pointer to the active document from the app class? And, most importantly, will I be able to call functions that I have added by subclassing CMDIChildWnd when I get the pointer to it. Also, I'm not using doc/view. MFC is confusing the hell out of me, so any help would be wonderful!