![]() |
Refreshing Menus, CommandBars, and Panes? |
Post Reply ![]() |
Author | |
AdrianM ![]() Newbie ![]() Joined: 08 August 2003 Location: United States Status: Offline Points: 10 |
![]() ![]() ![]() ![]() ![]() Posted: 21 February 2005 at 12:21pm |
How do I refresh ALL the Menus, CommandBars, and Panes when the following happens? Currently, everything stays the old color.
|
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
XTPPaintManager()->RefreshMetrics(); pCommandBars->RedrawCommandBars();
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
AdrianM ![]() Newbie ![]() Joined: 08 August 2003 Location: United States Status: Offline Points: 10 |
![]() ![]() ![]() ![]() ![]() |
Hi Oleg, I tried it, and it didn't work. Any idea why?
void { XTPColorManager()->SetLunaTheme(xtpSystemThemeOlive); #ifdef _XTP_INCLUDE_COMMANDBARS CXTPPaintManager::RefreshMetrics(); GetCommandBars()->RedrawCommandBars(); #endif } |
|
![]() |
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 |