Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Skin Framework
  New Posts New Posts RSS Feed - Black static text on dialogs with dark background
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Black static text on dialogs with dark background

 Post Reply Post Reply
Author
Message
rdhd View Drop Down
Senior Member
Senior Member
Avatar

Joined: 13 August 2007
Location: United States
Status: Offline
Points: 886
Post Options Post Options   Thanks (0) Thanks(0)   Quote rdhd Quote  Post ReplyReply Direct Link To This Post Topic: Black static text on dialogs with dark background
    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?
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.188 seconds.