Print Page | Close Window

Black static text on dialogs with dark background

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=24510
Printed Date: 21 November 2024 at 3:16pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Black static text on dialogs with dark background
Posted By: rdhd
Subject: Black static text on dialogs with dark background
Date Posted: 15 October 2024 at 12:02pm
We have our own dark/black skin INI file. We use a dark color the background of dialogs. But we cannot figure out how to color static text with a light color. We can do that with buttons and other controls. The skinning code seems to always defer to CWnd::GrayCtlColor.

I see [Dialog] in the ini files. Running the SkinSDISample I can change colors like button colors and see the colors being used but changes to the colors for [Dialog] are not reflected in the sample. Nor does [SysMetrics]/GrayText color static text.

I have yet to find [Dialog] being used in the skinning code.

So, how do I color static text on dialogs using skinning?



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