![]() |
Own Theme Menu Problem |
Post Reply ![]() |
Author | |
Ocrana ![]() Groupie ![]() Joined: 20 November 2007 Status: Offline Points: 32 |
![]() ![]() ![]() ![]() ![]() Posted: 14 October 2008 at 9:11pm |
Hello,
I have changed the menu in my app to a style, like the MSMoney Sample do. CXTPPaintManager::SetCustomTheme(new CMsMoneyTheme(RGB(140, 163, 196), RGB(91, 125, 173), RGB(122, 149, 187), RGB(74, 111, 165))); GetCommandBars()->RedrawCommandBars(); The Menu is changed as expected but it occour also on other dialogs, but I want to use the Custom Theme only on the CommandBars of the dialog where I call this. So is there a way to make this changes only on one dialog and leave the others as without? Thanks, Ocrana |
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hi,
Call GetCommandBars()->SetPaintManger(new CMsMoneyTheme(RGB(140, 163, 196), RGB(91, 125, 173), RGB(122, 149, 187), RGB(74, 111, 165)));
instead.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
Ocrana ![]() Groupie ![]() Joined: 20 November 2007 Status: Offline Points: 32 |
![]() ![]() ![]() ![]() ![]() |
Perfect. Many thanks :)
|
|
![]() |
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 |