Solved

Getting  views pointers

Posted on 1998-12-09
2
187 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Introduction: Displaying information on the statusbar.   Continuing from the third article about sudoku.   Open the project in visual studio. Status bar – let’s display the timestamp there.  We need to get the timestamp from the document s…
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…
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.
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…

623 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