Lisp HUG Maillist Archive

Can't change color of title when :title-position set as :frame (XP)

It seems impossible to change the color of a title for any subclass of titled-
object when the title-position is :frame (at least on WinXP). For example try 
this:

(capi:contain (make-instance 'capi:simple-layout
                             :title "This is the title"
                             :title-position :frame
                             :title-args '(:foreground :red)))

On my machine the colour of the text remains resolutely blue, but if I use 
anything other than :frame for the position I get the desired colour change. Is 
there any way to achieve this? Does the CAPI implement this groupbox-type widget 
itself, or rely on the windowing system? (This behaviour seems to suggest the 
latter.)

Thanks,
Chris


Updated at: 2020-12-10 08:37 UTC