Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Skin Manager, SetAutoApplyNewWindows
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Skin Manager, SetAutoApplyNewWindows

 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: Skin Manager, SetAutoApplyNewWindows
    Posted: 27 April 2006 at 11:21am

If you add the following two lines to the Skin MDI sample new MDI child windows will not get skinned anymore. Also the hyperlinks and the OK button in the About dialog will get skinned although it is disabled.

void CSkinMDISampleApp::OnAppAbout()
{
 CAboutDlg aboutDlg;
 XTPSkinManager()->SetAutoApplyNewWindows (FALSE);
 aboutDlg.DoModal();
 XTPSkinManager()->SetAutoApplyNewWindows (TRUE);
}

Just add the two lines, click on About and then New.

 

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: 27 April 2006 at 11:24am

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: 08 May 2006 at 12:17pm

I would like to know wheter this is a bug or if I misuse SetAutoApplyNewWindows.

Button icons doesn't work with the SkinFramework 10.1, so I have to disable it for the property sheet (Office 2007 also doesn't skin the dialogs), if I do this using SetAutoApplyNewWindows new MDI child windows don't get skinned properly anymore (See above).

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: 08 May 2006 at 3:41pm

Hi,

This problem fixed for next release. If you don't linke color of dialog face, you can just change it in Styles\Office2007\res\Office2007_Normal.ini:

Btnface = xx xx xx

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.125 seconds.