Professional UI Solutions
Site Map   /  Register


Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS General Discussion » Office skin with Vista Bar Collapse All
Subject Author Date
lester oidka Nov 4, 2007 - 3:29 PM

I’d like to use Office 2007 Luna scheme with Vista-like title bar and I’d like all dialogs to look like Vista windows (e.g. like attached Black Diamond skin) but the insides should contain animated buttons etc. [I’d prefer not to use skins]

2nd Q: How to customize background of a button with Office 2007 skin? Set colors, bitmaps etc. If I use the standard SetBkColor etc. it of course doesn’t work, but I don’t know how to do it other way.

Thank you

Technical Support Nov 9, 2007 - 1:02 PM

You cannot change the button colors because its painting is based in bitmaps. Would you send us some screenshots that demonstrate what you would like to get?

Technical Support Nov 5, 2007 - 11:42 AM

You should simply install the theme Office 2007 Luna:

g_PaintManager.InstallPaintManager( RUNTIME_CLASS( CExtPaintManagerOffice2007_Blue ) );
Please note all the controls in your dialog-based application should be subclassed Prof-UIS classes. Besides, derive the main dialog class from the CExtNCW < CExtResizableDialog > template-based class. The CExtNCW skins the window non-client area. The button controls in this theme are alpha-animated. The Office 2007 themes are based on bitmaps stored in Prof-UIS resources and some APIs like button background color does not work in these themes. Please provide us with more information about which kind of custom buttons you need in your project?

lester oidka Nov 8, 2007 - 4:32 AM

I would need to customize all buttons - respectively their colors.

The thing I need to do is use the luna skin - but the forms should use Vista-like border (as seen on BlackDiamondSkin)