Office 2003 theme |
Post Reply |
Author | ||
forsmtp
Newbie Joined: 31 January 2004 Status: Offline Points: 3 |
Post Options
Thanks(0)
Posted: 31 January 2004 at 1:04pm |
|
Hello, Could I implement Office 2003 theme with look like this http://www.codejock.com/products/commandbars/images/commandb ars.gif at the win2K machine? I had trying it without any success. I just got theme look like this Office2003theme_.zip - gray - but I need blue style? Please help me! |
||
MikeV
Newbie Joined: 03 January 2004 Location: United States Status: Offline Points: 9 |
Post Options
Thanks(0)
|
|
I think the problem you would have doing an Office 2003 "look" on a Windows 2000 computer is that the color scheme assigned to the CommandBar is coming from the XP color schemes that are only available in connection with the Windows XP Style. It looks to me that if you choose the xpThemeOffice2003 on a Win 2000 computer, CommandBar will use colors from the currently select Appearance scheme (Try changing your Apperance Scheme to "Lilac" and see what it looks like.) and do it's best to simulate the colors. Unless you can specify the colors the CommandBar uses for the various themes, and I haven't seen anything in the ActiveX version to suggest you can, then I don't think it's going to be possible.
|
||
forsmtp
Newbie Joined: 31 January 2004 Status: Offline Points: 3 |
Post Options
Thanks(0)
|
|
I had try that, but it absolutely not acceptable look! E53_blue.zip Can anyone from support or development team answer? Edited by forsmtp |
||
Sven
Senior Member Joined: 21 August 2003 Location: Germany Status: Offline Points: 127 |
Post Options
Thanks(0)
|
|
This Office 2003 theme is only available on Windows XP with activated visual styles. There is nothing you can do except upgrade from Windows 2000 to XP. |
||
forsmtp
Newbie Joined: 31 January 2004 Status: Offline Points: 3 |
Post Options
Thanks(0)
|
|
Do we have any other way for implementing Office 2003 theme for win2k users?? |
||
Sven
Senior Member Joined: 21 August 2003 Location: Germany Status: Offline Points: 127 |
Post Options
Thanks(0)
|
|
There is no way. Install MS Office 2003 on Windows 2000 and you will see, that Office 2003 looks like the screenshot in Office2003theme_.zip.
|
||
Ark42
Senior Member Joined: 20 October 2003 Status: Offline Points: 291 |
Post Options
Thanks(0)
|
|
class CXTPOffice2003ThemeEx : public CXTPOffice2003Theme
{ public: CXTPOffice2003ThemeEx(BOOL bGreyToBlue = TRUE, BOOL bYellowHighlight = FALSE); BOOL m_bGreyToBlue, m_bYellowHighlight; protected: virtual void RefreshMetrics(); }; CXTPOffice2003ThemeEx::CXTPOffice2003ThemeEx(BOOL bGreyToBlue, BOOL bYellowHighlight) { m_bGreyToBlue = bGreyToBlue; m_bYellowHighlight = bYellowHighlight; RefreshMetrics(); } void CXTPOffice2003ThemeEx::RefreshMetrics() { CXTPOffice2003Theme::RefreshMetrics(); if( !m_bLunaTheme ) { CXTPColorManager *pClrMgr = XTPColorManager(); COLORREF btn = pClrMgr->GetColor(COLOR_BTNFACE); if( m_bGreyToBlue && (btn == RGB(192, 192, 192) || btn == RGB(212, 208, 200)) ) { m_clrDockBarDark = RGB(158, 190, 245); m_clrDockBarLight = RGB(196, 218, 250); m_clrCommandBarDark = RGB(129, 169, 226); m_clrCommandBarLight = RGB(221, 236, 254); m_clrPopupDark = RGB(227, 239, 255); m_clrPopupLight = RGB(147, 181, 231); m_crlToolbarShadow = RGB(59, 97, 156); m_crlFloatingGripper = RGB(42, 102, 201); m_crlExpandNormalDark = RGB(0, 53, 145); m_crlExpandNormalLight = RGB(117, 166, 241); m_clrMenuExpandedDark = RGB(121, 161, 220); m_clrMenuExpandedLight = RGB(203, 221, 246); m_clrCircleDark = RGB(129, 169, 226); m_clrCircleLight = RGB(227, 239, 254); m_clrStatusPane = RGB(221, 221, 221); m_bLunaTheme = TRUE; pClrMgr->SetColor(0, RGB(0, 0, 0)); pClrMgr->SetColor(1, RGB(0, 78, 152)); pClrMgr->SetColor(2, RGB(0, 84, 227)); pClrMgr->SetColor(3, RGB(122, 150, 223)); pClrMgr->SetColor(4, RGB(255, 255, 255)); pClrMgr->SetColor(5, RGB(255, 255, 255)); pClrMgr->SetColor(6, RGB(0, 0, 0)); pClrMgr->SetColor(7, RGB(0, 0, 0)); pClrMgr->SetColor(8, RGB(0, 0, 0)); pClrMgr->SetColor(9, RGB(255, 255, 255)); pClrMgr->SetColor(10, RGB(212, 208, 200)); pClrMgr->SetColor(11, RGB(212, 208, 200)); pClrMgr->SetColor(12, RGB(128, 128, 128)); pClrMgr->SetColor(13, RGB(49, 106, 197)); pClrMgr->SetColor(14, RGB(255, 255, 255)); pClrMgr->SetColor(15, RGB(236, 233, 216)); pClrMgr->SetColor(16, RGB(172, 168, 153)); pClrMgr->SetColor(17, RGB(172, 168, 153)); pClrMgr->SetColor(18, RGB(0, 0, 0)); pClrMgr->SetColor(19, RGB(216, 228, 248)); pClrMgr->SetColor(20, RGB(255, 255, 255)); pClrMgr->SetColor(21, RGB(113, 111, 100)); pClrMgr->SetColor(22, RGB(251, 248, 231)); pClrMgr->SetColor(23, RGB(0, 0, 0)); pClrMgr->SetColor(24, RGB(255, 255, 225)); pClrMgr->SetColor(25, RGB(181, 181, 181)); pClrMgr->SetColor(26, RGB(0, 0, 128)); pClrMgr->SetColor(27, RGB(61, 149, 255)); pClrMgr->SetColor(28, RGB(0, 0, 0)); pClrMgr->SetColor(29, RGB(0, 0, 0)); pClrMgr->SetColor(30, RGB(158, 190, 245)); pClrMgr->SetColor(31, RGB(255, 238, 194)); pClrMgr->SetColor(32, RGB(0, 0, 128)); pClrMgr->SetColor(33, RGB(254, 128, 62)); pClrMgr->SetColor(34, RGB(144, 157, 178)); pClrMgr->SetColor(35, RGB(197, 194, 184)); pClrMgr->SetColor(36, RGB(255, 192, 111)); pClrMgr->SetColor(37, RGB(0, 0, 128)); pClrMgr->SetColor(38, RGB(39, 65, 118)); pClrMgr->SetColor(39, RGB(106, 140, 203)); pClrMgr->SetColor(40, RGB(109, 150, 208)); pClrMgr->SetColor(41, RGB(246, 246, 246)); pClrMgr->SetColor(42, RGB(230, 227, 210)); pClrMgr->SetColor(43, RGB(0, 45, 150)); pClrMgr->SetColor(44, RGB(0, 0, 0)); pClrMgr->SetColor(45, RGB(0, 0, 0)); pClrMgr->SetColor(46, RGB(0, 0, 0)); pClrMgr->SetColor(47, RGB(0, 0, 0)); pClrMgr->SetColor(48, RGB(218, 233, 255)); pClrMgr->SetColor(49, RGB(129, 126, 114)); pClrMgr->SetColor(50, RGB(0, 0, 128)); pClrMgr->SetColor(51, RGB(216, 231, 252)); pClrMgr->SetColor(52, RGB(158, 190, 245)); pClrMgr->SetColor(53, RGB(203, 225, 252)); pClrMgr->SetColor(54, RGB(0, 45, 150)); pClrMgr->SetColor(55, RGB(196, 218, 250)); } else if(m_bYellowHighlight) { pClrMgr->SetColor(31, RGB(255, 238, 194)); pClrMgr->SetColor(33, RGB(254, 128, 62)); pClrMgr->SetColor(36, RGB(255, 192, 111)); m_bLunaTheme = TRUE; } } } //Then use like this: CXTPPaintManager::SetCustomTheme(new CXTPOffice2003ThemeEx()); //Instead of like: CXTPPaintManager::SetTheme(xtpThemeOffice2003); |
||
hoanganh
Newbie Joined: 15 October 2004 Status: Offline Points: 4 |
Post Options
Thanks(0)
|
|
private Sub ThemeOffice2003Ex() CommandBars.SetSpecialColor COLOR_SCROLLBAR, 0 |
||
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 |