Solved

Embedding a CToolBar in a CEditView

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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone 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

Suggested Solutions

Title # Comments Views Activity
Replacement selected text 2 63
deburging in oracle form 12 104
ShiftLeft challenge 21 84
How to convert MFC::CString to UTF8 wchar_t* 10 276
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: Ownerdraw of the grid button.  A singleton class implentation and usage. Continuing from the fifth article about sudoku.   Open the project in visual studio. Go to the class view – CGridButton should be visible as a class.  R…
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.

790 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