Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 193
  • Last Modified:

Getting views pointers

I have a SDI application with a splitter window.
The two views are derived from CTreeCtrl - CLeftView
and from CFormView - CSMSpyView.

How can i call members of one view in the other and outside of the views?
0
jmartins71
Asked:
jmartins71
1 Solution
 
plarocheCommented:
I will answer this one leaving you some research, 5 points is very low...

Take a look at:

GetActiveView()
GetFirstViewPosition() in combo with CRuntimeClass to recognize the view you're looking for.

Or:
Keep pointers in you document (not very elegant)
0
 
jmartins71Author Commented:
Sorry about the 5 points but i donĀ“t have more!

Thanks again plaroche
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now