Hello,
I tried the following code:
but it gives me an error for DisplayView.h:Code:CDisplayView* view = dynamic_cast<CDisplayView*>(((CFrameWnd*)AfxGetMainWnd())->GetActiveView());
error C2065: 'IDD_DISPLAY_FORM' : undeclared identifier
Any idea why I get this error?
Thanks!




Reply With Quote