Recent

Author Topic: Bug on OSX dark theme? (colors) Or...?  (Read 2560 times)

MISV

  • Hero Member
  • *****
  • Posts: 769
Bug on OSX dark theme? (colors) Or...?
« on: January 03, 2022, 09:08:51 am »
I ownerdraw stringgrid headers

I can see I use

clBtnFace for background color
and
clBtnText for text color


However, on OSX dark theme it seems both are simply... black. I am still working on details, but is there an official guide for picking colors that work acrosss Windows and OSX themes?
« Last Edit: January 03, 2022, 11:05:21 am by MISV »

Wallaby

  • New Member
  • *
  • Posts: 42
Re: Bug on OSX dark theme? (colors) Or...?
« Reply #1 on: January 03, 2022, 10:02:42 am »
You need GetDefaultColor, see this doc.
« Last Edit: January 03, 2022, 10:07:19 am by Wallaby »

MISV

  • Hero Member
  • *****
  • Posts: 769
Re: Bug on OSX dark theme? (colors) Or...?
« Reply #2 on: January 03, 2022, 06:27:04 pm »
Thank you :)

 

TinyPortal © 2005-2018