Solved

Getting  views pointers

Posted on 1998-12-09
2
181 Views
Last Modified: 2013-11-20
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
Comment
Question by:jmartins71
2 Comments
 
LVL 3

Accepted Solution

by:
plaroche earned 0 total points
ID: 1325940
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
 

Author Comment

by:jmartins71
ID: 1325941
Sorry about the 5 points but i don´t have more!

Thanks again plaroche
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
cat dog challenge 18 124
How to know only "File created" with EventLog 3 32
sum13 challenge 24 90
JQuery serialize and unserialize 8 51
Introduction: Ownerdraw of the grid button.  A singleton class implentation and usage. Continuing from the fifth article about sudoku.   Open the project in visual studio. Go to the class view – CGridButton should be visible as a class.  R…
Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now