Forum > Cocoa

Bug on OSX dark theme? (colors) Or...?

(1/1)

MISV:
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?

Wallaby:
You need GetDefaultColor, see this doc.

MISV:
Thank you :)

Navigation

[0] Message Index

Go to full version