![]() |
RepositionBars in ActiveX |
Post Reply ![]() |
Author | |
kram617 ![]() Newbie ![]() Joined: 24 February 2006 Status: Offline Points: 12 |
![]() ![]() ![]() ![]() ![]() Posted: 16 March 2007 at 4:32pm |
I am creating a CXTPToolBar on a CXTPDialog within an ActiveX control. My application always crashes when RepositionBars is called in my OCX. The parent application does not use Codejock. Has anybody had similiar problems with using toolbars in ActiveX controls?
|
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hi,
May be it needs some resources. Did you added resources to your dll ?
What line fails?
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
kram617 ![]() Newbie ![]() Joined: 24 February 2006 Status: Offline Points: 12 |
![]() ![]() ![]() ![]() ![]() |
I was able to fix the problem by adding this line before creating the toolbar (just like in the DialogSample application).
CXTPPaintManager::SetTheme(xtpThemeOfficeXP);
|
|
![]() |
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 |