Accessing Doc data from a dialog...
Posted on 1998-04-21
I need to to display certain data pertaining to my CDocument class in a dialog box(let's say CDlg), and didn't think it was kosher to actually send the pointer to the CDocument object from, say the CView class where I created the CDlg. To make a long story short, is there a quick way to get a pointer to the current document object in any location? I know how to do this from the CMainFrame object, but is there some easy was to do it from ANY object?