Solved

Getting  views pointers

Posted on 1998-12-09
2
180 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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Introduction: Hints for the grid button.  Nested classes, templated collections.  Squash that darned bug! Continuing from the sixth article about sudoku.   Open the project in visual studio. First we will finish with the SUD_SETVALUE messa…
Introduction: The undo support, implementing a stack. Continuing from the eigth article about sudoku.   We need a mechanism to keep track of the digits entered so as to implement an undo mechanism.  This should be a ‘Last In First Out’ collec…
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.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

747 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

18 Experts available now in Live!

Get 1:1 Help Now