Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Skin Framework
  New Posts New Posts RSS Feed - Urgent: Skinning CXTPButton doesn't work in 16.4.0
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Urgent: Skinning CXTPButton doesn't work in 16.4.0

 Post Reply Post Reply
Author
Message
UglySwede View Drop Down
Groupie
Groupie


Joined: 27 February 2013
Location: Sweden
Status: Offline
Points: 17
Post Options Post Options   Thanks (0) Thanks(0)   Quote UglySwede Quote  Post ReplyReply Direct Link To This Post Topic: Urgent: Skinning CXTPButton doesn't work in 16.4.0
    Posted: 03 May 2015 at 6:06am
We have a large application using Codejock (C++, MFC, VisualStudio 2012). We use SkinFramework - the user can choose between many skins. We will soon release a new version, and we have upgraded Codejock to 16.4.0. But we noticed that the skinning of the Codejock buttons doesn't work in the new version. Is this a bug? Or did we miss something?

We use icons for certain buttons, so some of our buttons are CXTPButton, some ordinary CButton. With our previous Codejock version (15.3.1), both type of buttons looked the same. For example if we skin it with Vista.cjstyles/NormalBlack2.INI:


But with the new version, CButton:s get skinned OK, but not CXTPButton:s:


It looks even worse with other skins - take WinXP.Luna.cjstyles/NormalBlue.INI:


(We have tried all possible combinations of settings for the CXTPButton - with calls to SetUseVisualStyle/SetBorderStyle/SetTheme. The appearance changes, but the button never gets skinned.)

This only happens when skinning with CXTPSkinManager::LoadSkin(). If we use the built-in themes (set with CXTPPaintManager::SetTheme()), everything looks OK.

Is there some new call that must be made? Or some default setting that has changed in Codejock? We just want all buttons to look the same. We are running out of time - we would be very grateful for some help!

/Anders from Sweden
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.125 seconds.