Hi !
i want to call a function in my viewclass
from my mainclass.
how can i manage this ?
thanks
Printable View
Hi !
i want to call a function in my viewclass
from my mainclass.
how can i manage this ?
thanks
I believe u are using SDI.
How about "GetActiveView()"?
God luck. :)
Walter An
CMyView* ptrView = ( CMyView*)AfxGetMainWnd();
ptrView->Funct1();
Try this code from frame, it may work
good luck,
Narayan Singh B.
Singh