Click to See Complete Forum and Search --> : SDI


April 6th, 1999, 08:31 AM
Hi !
i want to call a function in my viewclass
from my mainclass.
how can i manage this ?
thanks

Walter I An
April 6th, 1999, 02:23 PM
I believe u are using SDI.
How about "GetActiveView()"?

God luck. :)

Walter An

Narayan Singh
July 15th, 1999, 04:07 AM
CMyView* ptrView = ( CMyView*)AfxGetMainWnd();
ptrView->Funct1();

Try this code from frame, it may work

good luck,
Narayan Singh B.



Singh