|
-
April 22nd, 1999, 02:18 AM
#1
A funtion in View, called in Mainframe
Hi
Could some one give me an example of how to make and call a function in my View class that I can call in a function in my MainFrame class?
Thanks
-
June 3rd, 1999, 12:40 AM
#2
Re: A funtion in View, called in Mainframe
Use GetActiveView() on any function on MainFrame to get a pointer to your view class:
CView* pView = GetActiveView();
And then use it to call view's functions:
((CMyView*)pView)->FunctionInViewClass();
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
|