Office 2007 Theme |
Post Reply |
Author | |
ABuenger
Newbie Joined: 02 February 2006 Status: Offline Points: 1075 |
Post Options
Thanks(0)
Posted: 18 April 2006 at 4:18pm |
In Office 12 Beta 1 (as well as any pre-beta or TR version) only the main frame and MDI child windows have the new theme while all dialogs have the OS default theme, with XTP all windows get the new theme. That doesn't look good, there is no contrast. Also I haven't seen those aqua style buttons anywhere in Office. Property pages have a wierd background, even ON_WM_CTLCOLOR doesn't work to override it. Is it possible to disable the theme for dialogs? (Or set the Office 2003 theme) Please have a look at a property sheet with the Office 2007 theme. |
|
ABuenger
Newbie Joined: 02 February 2006 Status: Offline Points: 1075 |
Post Options
Thanks(0)
|
Solved the problem with XTPSkinManager()->SetAutoApplyNewWindows (FALSE); But it would be nice if I could tell the Skin Manager only to skin frame windows (CFrameWnd and derived). |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi, You can call XTPSkinManager()->SetAutoApplyNewWindows (FALSE); after main frame created. |
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
ABuenger
Newbie Joined: 02 February 2006 Status: Offline Points: 1075 |
Post Options
Thanks(0)
|
That might work for SDI applications, but not for MDI, the child windows don't get skinned if I call XTPSkinManager()->SetAutoApplyNewWindows (FALSE); after the main frame was created. XTPSkinManager()->OnlySkinFrameWindows() would be nice |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
ok, we will think about. it. It just first release of SkinFramework....
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
bambha
Newbie Joined: 19 June 2006 Location: United States Status: Offline Points: 9 |
Post Options
Thanks(0)
|
Is it possible to inherit the SkinFramework and custumoze it?
I want to apply the skin to whole dialog except the Listbox as i want a black background color and by default for Office 2007 it gives white.
I was using OnCtlColor for that and as soon as I apply the skin it just stop working.
|
|
Manik Bambha
|
|
tNgLoo
Groupie Joined: 21 April 2005 Status: Offline Points: 31 |
Post Options
Thanks(0)
|
XTPSkinManager()->ExcludeFromSkin(HWND hwnd)
will be prefer.
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
Added Remove method and GetClassMap() so will be able to remove/add window classes you need to skin...
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
bambha
Newbie Joined: 19 June 2006 Location: United States Status: Offline Points: 9 |
Post Options
Thanks(0)
|
HWND hwnd; this->GetDlgItem(IDC_CHAT_WRITE, &hwnd);
XTPSkinManager()->Remove(hwnd);
gives me a error that cant access Remove as its a private memeber.
Using the Q3 version removed the skin on the command bars. They were working fine with blue color os Office2007 and now they are all white. Is that a bug or a change.
Please reply as this is urgent.
|
|
Manik Bambha
|
|
bambha
Newbie Joined: 19 June 2006 Location: United States Status: Offline Points: 9 |
Post Options
Thanks(0)
|
I figured out the problem but not the solution yet. I guess its a bug in Q3
This works
XTPSkinManager()->LoadSkin(_T("Skins/Office2007.cjstyles")); XTPSkinManager()->SetAutoApplyNewWindows(TRUE); CXTPPaintManager::SetTheme(xtpThemeOffice2003);
but as soon you change the theme to 2007 it starts all the weird stuff. Another thing is now the toolbar dont get resized with RepositionBars(AFX_IDW_CONTROLBAR_FIRST, AFX_IDW_CONTROLBAR_LAST, 0); I hope you come with a explaination |
|
Manik Bambha
|
|
bambha
Newbie Joined: 19 June 2006 Location: United States Status: Offline Points: 9 |
Post Options
Thanks(0)
|
Q3 messed up my whole code. I have a release in 1 week and i deleted Q2. Please give me Q2 back. I dont have time to work with you new version.
Please help
|
|
Manik Bambha
|
|
tNgLoo
Groupie Joined: 21 April 2005 Status: Offline Points: 31 |
Post Options
Thanks(0)
|
|
|
bambha
Newbie Joined: 19 June 2006 Location: United States Status: Offline Points: 9 |
Post Options
Thanks(0)
|
tNgLoo do you have the last version 1020 or Q2? I need that as I have to meet the deadline and I deleted the cod eby mistake. Please email me as I am in deep trouble.
|
|
Manik Bambha
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi, Please send email to sales@codejock.com about 10.2 version.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
ps. Try to move XTPSkinManager()->LoadSkin(_T("Skins/Office2007.cjstyles")); to mainframe constructor. It must be called before any window has been created.
Also if you use Office2007 for toolbars, you have to load dll file style with its resources.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
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 |