|
-
May 30th, 1999, 05:59 AM
#1
Getting a pointer to CView
Hi!
I've had some problem (in MSVC++ 6) getting a pointer to the CView class from the CMainFrame? When I use the code below I get two error messages and I'm forced to close the application:
CView* pView = GetActiveView();
HWND hView = pView->m_hWnd;
Is there anyone who knows how to fix this?
Thanks in advance!
/Tom
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|