![]() |
Undockable and uncustomizable Toolbar |
Post Reply
|
| Author | |
VoimiX
Newbie
Joined: 20 June 2005 Location: Russian Federation Status: Offline Points: 8 |
Post Options
Thanks(0)
Quote Reply
Topic: Undockable and uncustomizable ToolbarPosted: 20 June 2005 at 9:32am |
|
How can I make Toolbar undockable and uncustomizable?
|
|
![]() |
|
SuperMario
Senior Member
Joined: 14 February 2004 Status: Offline Points: 18057 |
Post Options
Thanks(0)
Quote Reply
Posted: 20 June 2005 at 9:39am |
|
Maybe set Customizable property of toolbar to False, Set
ShowExpandButtonAlways to False, the use the EnableDocking method to
set the xtpFlagAlignBottom, xtpFlagAlignTop, xtpFlagAlignLeft, and
xtpFlagAlignRight flags.
|
|
![]() |
|
VoimiX
Newbie
Joined: 20 June 2005 Location: Russian Federation Status: Offline Points: 8 |
Post Options
Thanks(0)
Quote Reply
Posted: 20 June 2005 at 9:56am |
|
But how? Customizable property is protected.
And what does "m_bBuiltIn" property mean? Edited by VoimiX |
|
![]() |
|
SuperMario
Senior Member
Joined: 14 February 2004 Status: Offline Points: 18057 |
Post Options
Thanks(0)
Quote Reply
Posted: 20 June 2005 at 10:41am |
|
I think:
CXTPCommandBar::EnableCustomization(BOOL bEnable) |
|
![]() |
|
VoimiX
Newbie
Joined: 20 June 2005 Location: Russian Federation Status: Offline Points: 8 |
Post Options
Thanks(0)
Quote Reply
Posted: 20 June 2005 at 10:52am |
|
After EnableDocking method my Toolbar is still dockable
|
|
![]() |
|
VoimiX
Newbie
Joined: 20 June 2005 Location: Russian Federation Status: Offline Points: 8 |
Post Options
Thanks(0)
Quote Reply
Posted: 20 June 2005 at 10:58am |
|
And how can I remove "Toolbar Options" chevron from Toolbar?
And I couldn't find ShowExpandButtonAlways property. |
|
![]() |
|
SuperMario
Senior Member
Joined: 14 February 2004 Status: Offline Points: 18057 |
Post Options
Thanks(0)
Quote Reply
Posted: 20 June 2005 at 11:04am |
|
Here is a link to ShowExpandButtonAlways.
To prevent toolbar from moving at all try : EnableDocking(False /*Or try 0*/) |
|
![]() |
|
VoimiX
Newbie
Joined: 20 June 2005 Location: Russian Federation Status: Offline Points: 8 |
Post Options
Thanks(0)
Quote Reply
Posted: 20 June 2005 at 11:13am |
|
Thanks, Everything is OK
|
|
![]() |
|
SuperMario
Senior Member
Joined: 14 February 2004 Status: Offline Points: 18057 |
Post Options
Thanks(0)
Quote Reply
Posted: 20 June 2005 at 11:13am |
|
Oh I forgot.....Built-In indicates if the command bar is a user created
command bar. This means that the user created it via the
Customization dialog. Built-In toolbars are toolbars the
developer (you) added.
|
|
![]() |
|
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 |