Undockable and uncustomizable Toolbar |
Post Reply |
Author | |
VoimiX
Newbie Joined: 20 June 2005 Location: Russian Federation Status: Offline Points: 8 |
Post Options
Thanks(0)
Posted: 20 June 2005 at 9:32am |
How can I make Toolbar undockable and uncustomizable?
|
|
SuperMario
Admin Group Joined: 14 February 2004 Status: Offline Points: 18057 |
Post Options
Thanks(0)
|
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)
|
But how? Customizable property is protected.
And what does "m_bBuiltIn" property mean? Edited by VoimiX |
|
SuperMario
Admin Group Joined: 14 February 2004 Status: Offline Points: 18057 |
Post Options
Thanks(0)
|
I think:
CXTPCommandBar::EnableCustomization(BOOL bEnable) |
|
VoimiX
Newbie Joined: 20 June 2005 Location: Russian Federation Status: Offline Points: 8 |
Post Options
Thanks(0)
|
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)
|
And how can I remove "Toolbar Options" chevron from Toolbar?
And I couldn't find ShowExpandButtonAlways property. |
|
SuperMario
Admin Group Joined: 14 February 2004 Status: Offline Points: 18057 |
Post Options
Thanks(0)
|
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)
|
Thanks, Everything is OK
|
|
SuperMario
Admin Group Joined: 14 February 2004 Status: Offline Points: 18057 |
Post Options
Thanks(0)
|
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 |