![]() |
Disable skinning for task dialogs |
Post Reply ![]() |
Author | |
ABuenger ![]() Newbie ![]() ![]() Joined: 02 February 2006 Status: Offline Points: 1075 |
![]() ![]() ![]() ![]() ![]() Posted: 17 April 2007 at 12:21pm |
If you enable skinning and then disable it only for the task dialog (XTPSkinManager()->SetAutoApplyNewWindows(FALSE);), the dialog still gets partially skinned.
![]() ![]() Why do the command links - which are basically just buttons - get completely skinned while the other buttons not? |
|
Codejock support
|
|
![]() |
|
ABuenger ![]() Newbie ![]() ![]() Joined: 02 February 2006 Status: Offline Points: 1075 |
![]() ![]() ![]() ![]() ![]() |
Disabling xtpSkinApplyColors also doesn't help:
![]() |
|
Codejock support
|
|
![]() |
|
Oleg ![]() Senior Member ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hello,
Afraid CXTPWinThemeWrapper::IsAppThemeReady will return always TRUE if skinframework used. What problem to use skin for TaskDialog?
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
ABuenger ![]() Newbie ![]() ![]() Joined: 02 February 2006 Status: Offline Points: 1075 |
![]() ![]() ![]() ![]() ![]() |
Like in Office I do not want to skin (modal) dialogs, which looks odd. You can't really distinguish the dialog from the main frame, the unskinned dialog has a better contrast to the main frame. I'd say the Task Dialog behavior is a bug, isn't it? |
|
Codejock support
|
|
![]() |
|
Oleg ![]() Senior Member ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hello,
No its not bug. IsAppThemeReady is global method and it can't recognize who call it - skinned window or not.
We agree that with skinframework its problem to have some skinned dialogs and some not because of global methods - for example hooking GetSysColor we can't recognize if need to return sysmem colors for non skinned dialog to colors from skin.
|
|
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 |