Print Page | Close Window

how to add toolbar to a CView object ?

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=18528
Printed Date: 23 April 2024 at 8:41pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: how to add toolbar to a CView object ?
Posted By: lovelypp
Subject: how to add toolbar to a CView object ?
Date Posted: 09 June 2011 at 10:20pm

Can CView object has it's own toolbar ?

 how ?



Replies:
Posted By: lovelypp
Date Posted: 09 June 2011 at 10:26pm
my app is a SDI MFC app
thanks!


Posted By: Oleg
Date Posted: 10 June 2011 at 2:39am
for SDI application what is difference to have it in Frame or in View ?
Anyway check GUI_VisualStudio sample - it show how to ad Toolbars to Panes. same way will work for View.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: lovelypp
Date Posted: 10 June 2011 at 10:02am

I just want another toolbar in CView, which is different from the main toolbar.

In the CView window,  I added a CXTPTabControl, whcih contains two or three different pages.
 
>>> it show how to ad Toolbars to Panes. same way will work for View.
do you mean add pane to view, then add toolbars to panes?
 
thanks!


Posted By: Oleg
Date Posted: 13 June 2011 at 2:19am
I mean you can add Toolbar to CView directly using same way - CXTPToolbar+its CreateToolBar method.

-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: lovelypp
Date Posted: 14 June 2011 at 12:39am
thanks!
but this will result in the different toolbar style in the UI.
can codejock provide CXTPView ? bucause there is no such pane management member
 
 



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net