Click to See Complete Forum and Search --> : How to get a ptr to the MainFrame from a view?


Volkan
April 29th, 1999, 01:44 PM
All in the title

PeterK
April 29th, 1999, 04:01 PM
Try AfxGetMainWnd().

Sometimes you have to type cast it so it returns the pointer you are looking for.