![]() |
Assert :-( |
Post Reply ![]() |
Author | |
Simon HB9DRV ![]() Senior Member ![]() ![]() Joined: 07 July 2005 Location: Switzerland Status: Offline Points: 458 |
![]() ![]() ![]() ![]() ![]() Posted: 19 April 2007 at 3:22am |
Why the ASSERT on the second line? This is annoying when I am just using a data member of type CXTPToolBar in a dialog. My code is below.
|
|
Simon HB9DRV
|
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hi,
EnableDocking can be used only if you asign some CommandBars.
You need create CommandBars object and assign it for toolbar. use search for forum, there was some samples.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
Simon HB9DRV ![]() Senior Member ![]() ![]() Joined: 07 July 2005 Location: Switzerland Status: Offline Points: 458 |
![]() ![]() ![]() ![]() ![]() |
But in my case I am using xtpFlagHideWrap and xtpFlagStretched via EnableDocking, this works well, these flags can be applied without a CommandBars object.
I can't remember why I don't use a CommandBars object - the dialog is a child of a tab control.
|
|
Simon HB9DRV
|
|
![]() |
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 |