Problems with Office2007theme showing a MessageBox |
Post Reply |
Author | |
Jarry666
Newbie Joined: 10 September 2009 Status: Offline Points: 3 |
Post Options
Thanks(0)
Posted: 10 September 2009 at 8:09am |
Hi,
I have an application that uses the style Office2007Black using: CommandBarsGlobalSettings.Office2007Images = App.Path & "\Styles\Office2007Black.dll" But when i show a MessageBox this style is not applied to the window, staying as shown in the picture below. I managed to change the style of its child windows using: CommandBars.EnableOffice2007FrameHandle FormWhatever.hWnd , but not the MessageBox one. I have discovered TaskDialog control, but i canīt do it neither. What can I do? Thanks and regards! |
|
jpbro
Senior Member Joined: 12 January 2007 Status: Offline Points: 1355 |
Post Options
Thanks(0)
|
You should use the SkinFramework control with the Office2007.cjstyles file (see SkinFramework sample) for skinning other windows. Just make sure to remove your main commandbars window handle from the SkinFramework control using the RemoveWindow method.
|
|
Product: Xtreme SuitePro (ActiveX) version 16.2.6
Platform: Windows XP - SP3 Language: Visual Basic 6.0 SP6 |
|
Jarry666
Newbie Joined: 10 September 2009 Status: Offline Points: 3 |
Post Options
Thanks(0)
|
Thanks jpbro! The problem is fixed.
It seems easy to apply, but now I have another question: Like I say you, Iīm using a Ribbonbar with Office2007Black.dll style, and i donīt see this style available for the SkinFramework control: Here are the styles available. Office2007.cjstyles: -NORMALAQUA.INI -NORMALBLUE.INI For now, I will use Office2007black.dll style for RibbonBar, and normalaqua.ini style for the Skinframework, because they are similar, but Is there any way to be equal to Office2007black.dll style? Regards! |
|
Jarry666
Newbie Joined: 10 September 2009 Status: Offline Points: 3 |
Post Options
Thanks(0)
|
Sorry, Iīve just seen that exist "normalblack.ini"!
Thanks! |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
btw if you use both SkinFramework and Ribbon call
SkinFramework.RemoveWindow me.hWnd for main form to prevent conflicts.
|
|
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 |