[Lazarus] Docking deserves updates of the LCL

Hans-Peter Diettrich DrDiettrich1 at aol.com
Tue Jan 27 12:42:32 CET 2009


Graeme Geldenhuys wrote:
> Does clBtnFace update to the correct colour if you apply a new windows
> colour scheme (without quitting the application)?
> 
> eg:
> *  using default colour scheme in windows (usual grey colours).
> *  start my app and button is painted in grey (clBtnFace).
> *  I change the colour scheme to pink/purple (I wouldn't really do that. <wink.)
> *  All windows apps adjust their colours as well. Does LCL apps do the same?

If you are about lcl-win32 then yes. When LCL process clBtnFace it calls 
winapi function GetSysColor. Ofcource there can be problems with already 
created brushes, pens and fonts which was created before theme change.

Best regards,
Paul Ishenin.




More information about the Lazarus mailing list