Best wishes
Bernhard
> is it possible programmatically for a single control (for example a
> TCheckBox Control) the Windows Theme to deactivate?
You can call the SetWindowTheme method to disable themes for a
specific window handle:
SetWindowTheme(Handle, nil, '');
If the window is recreated, however, you'll have to call
SetWindowTheme again. You can create a descendant class and override
the CreateWnd method so you can call SetWindowTheme immediately after
the window is created.
--
Yorai Aminov (TeamB)
(TeamB cannot answer questions received via email.)
Shorter Path - http://www.shorterpath.com
Yorai's Page - http://www.yoraispage.com
But my hope was, that I am able to change the Color and Font.Color if I
deactivate the Window Theme for this control. But I'm still not able to
change the color and font.color.
Is there a way to solve this without write a descendent of the control?
Best wishes
Bernhard
Yorai Aminov (TeamB) schrieb:
> Is there a way to solve this without write a descendent of the
> control?
Depends on the control.