Print Page | Close Window

Problem with background color in CDialogBar

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Skin Framework
Forum Description: Topics Related to Codejock Skin Framework
URL: http://forum.codejock.com/forum_posts.asp?TID=13309
Printed Date: 22 November 2024 at 9:42pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Problem with background color in CDialogBar
Posted By: mihey
Subject: Problem with background color in CDialogBar
Date Posted: 02 February 2009 at 8:32am

Hi,

 

By switching to the new XTP12.1.1 I found another problem by using CDialogBar inside a MDIChildWnd frame. By applying a skin the system color is used anyway for the background (see the screenshot).  

 
 

Previously this worked well. For reproducing the problem I’ve included a sample based on your SkinMDISample project. I hope you as usual have a simple workaround for this issue.

https://forum.codejock.com/uploads/20090202_083111_SkinMDISample.rar - uploads/20090202_083111_SkinMDISample.rar

 

Thanks in advance and best regards.

Mikhail Tyukin.

XTP12.1.1 XP SP3 VS2003 




Replies:
Posted By: Oleg
Date Posted: 02 February 2009 at 12:29pm
Hi,
 
Please send WM_SYSCOLORCHANGE to CMainFrame.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: mihey
Date Posted: 03 February 2009 at 4:01am
Hi Oleg,

This works!

Thanks a lot and best regards
Mikhail Tyukin



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net