![]() |
Loading Multiple Designer CommandBars |
Post Reply ![]() |
Author | |
walgar ![]() Newbie ![]() Joined: 13 February 2005 Status: Offline Points: 5 |
![]() ![]() ![]() ![]() ![]() Posted: 13 February 2005 at 8:49am |
Hi, I have a small problem with loading of designer CommandBars. I load designer CommandBars in my main form. Working Ok. Then I open another form on which I load another designer CommandBars set. At this point, I lose all the icons in the CommandBars of the main form... When the mainform refreshes, all button are replaced with text.
Any help would be greatly appreciated... Thanks!
|
|
![]() |
|
walgar ![]() Newbie ![]() Joined: 13 February 2005 Status: Offline Points: 5 |
![]() ![]() ![]() ![]() ![]() |
Ok, problem solved. Although the two forms where using two different instances of CXTPCommandBars, These two where using the same CXTPImageManager instance. The CXTPCommandBars::LoadDesignerBars flushes the image manager before loading new images from the designer file. I used CXTPCommandBars::SetImageManager to set a new image manager for the second form.
|
|
![]() |
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 |