Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

How to embed a CDialog or CView into a CFormView window

Posted on 1997-05-07
1
Medium Priority
?
985 Views
Last Modified: 2013-11-20
I would like to embed either a CDialog or CView derived object in a CFormView derived object.  The child window needs to scroll horizontally.  The solution to this problem does not have to utilize these classes I just want to make it easier on myself so that I can write my code in the wayI used to.  Has anyone done this before?
0
Comment
Question by:andy.bronson
[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
1 Comment
 
LVL 4

Accepted Solution

by:
mbhakta earned 300 total points
ID: 1301395
There used to be an example in MSDN about embeddind CDialog based objects into a ownerdrawn list box. Each item was a dialog inside the list box. You can implement the same for other controls. Just make sure that your CDialog based template's parent is the control / view and not the desktop. This can be done by using SetParent().
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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.
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…

704 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