Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Disable skinning for task dialogs
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Disable skinning for task dialogs

 Post Reply Post Reply
Author
Message
ABuenger View Drop Down
Newbie
Newbie
Avatar

Joined: 02 February 2006
Status: Offline
Points: 1075
Post Options Post Options   Thanks (0) Thanks(0)   Quote ABuenger Quote  Post ReplyReply Direct Link To This Post Topic: Disable skinning for task dialogs
    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
Back to Top
ABuenger View Drop Down
Newbie
Newbie
Avatar

Joined: 02 February 2006
Status: Offline
Points: 1075
Post Options Post Options   Thanks (0) Thanks(0)   Quote ABuenger Quote  Post ReplyReply Direct Link To This Post Posted: 17 April 2007 at 1:15pm
Disabling xtpSkinApplyColors also doesn't help:



Codejock support
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 17 April 2007 at 2:08pm
Hello,
Afraid CXTPWinThemeWrapper::IsAppThemeReady will return always TRUE if skinframework used. What problem to use skin for TaskDialog?
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
ABuenger View Drop Down
Newbie
Newbie
Avatar

Joined: 02 February 2006
Status: Offline
Points: 1075
Post Options Post Options   Thanks (0) Thanks(0)   Quote ABuenger Quote  Post ReplyReply Direct Link To This Post Posted: 17 April 2007 at 5:51pm
Originally posted by oleg oleg wrote:

What problem to use skin for TaskDialog?


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
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 18 April 2007 at 1:16am
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
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.219 seconds.