Solved

Embedding a CToolBar in a CEditView

Posted on 1998-11-14
1
287 Views
Last Modified: 2013-11-20
I would like to be able to embed a toolbar into my CEditView, which will be one pane in a splitter window.  Whenever I create the toolbar now, it only belongs to the main frame window.

Can this be done??
0
Comment
Question by:davehaas
1 Comment
 
LVL 2

Accepted Solution

by:
wyy_cq earned 50 total points
ID: 1324708
i am sorry to say "no".
if the toolbar window is a child of frame window,it will display on the frame window.
that is to say one child window will display on its parent window.
if the window is not a child but a popup, it can be placed anywhere.


but you can try this way.
create the toolbar window as the child of view,
when your view receive the notify of the toolbar,your view send it to the frame window.
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Introduction: Finishing the grid – keyboard support for arrow keys to manoeuvre, entering the numbers.  The PreTranslateMessage function is to be used to intercept and respond to keyboard events. Continuing from the fourth article about sudoku. …
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.
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …

810 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