Solved

Embedding a CToolBar in a CEditView

Posted on 1998-11-14
1
300 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
[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 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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Separate files macro - Errors on larger data set 18 73
string initialization in java 11 117
NotAlone Challenge 20 88
Annoying "thing" blocks my view 4 133
Introduction: Dynamic window placements and drawing on a form, simple usage of windows registry as a storage place for information. Continuing from the first article about sudoku.  There we have designed the application and put a lot of user int…
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.

730 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