![]() |
how to add toolbar to a CView object ? |
Post Reply
|
| Author | |
lovelypp
Groupie
Joined: 17 January 2008 Status: Offline Points: 34 |
Post Options
Thanks(0)
Quote Reply
Topic: how to add toolbar to a CView object ?Posted: 09 June 2011 at 10:20pm |
|
Can CView object has it's own toolbar ? how ?
|
|
![]() |
|
lovelypp
Groupie
Joined: 17 January 2008 Status: Offline Points: 34 |
Post Options
Thanks(0)
Quote Reply
Posted: 09 June 2011 at 10:26pm |
|
my app is a SDI MFC app
thanks!
|
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
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 |
|
![]() |
|
lovelypp
Groupie
Joined: 17 January 2008 Status: Offline Points: 34 |
Post Options
Thanks(0)
Quote Reply
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!
|
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
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 |
|
![]() |
|
lovelypp
Groupie
Joined: 17 January 2008 Status: Offline Points: 34 |
Post Options
Thanks(0)
Quote Reply
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
|
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |