Qbus wrote: I know how to get a pointer form View class to doc class. If it is a standard MFC Wizard generated view then you can use the GetDocument() function in your view class. Qbus wrote: If not can you get a pointer to app class from doc class? You can use AfxGetApp() and cast the returned value to your class CMyApp* pApp = (CMyApp*) AfxGetApp(); Michael Snow is lying on the ground, and in the air the sleigh bells sound, The frosted patterned window panes, it's British summer time again. No, it's not, It's Christmas - Santa Claus in on the Dole (Spitting Image 1986)