Mario Mansilla wrote:Hola :
ejecuto el demo3 de los ejemplos del control Progressbar de Hmg 2.9.3 y siempre coloca los colores por omisión .
Win Xp Sp2
Saludos .
Mario Mansilla
Hi:
demo3 run the examples of HMG 2.9.3 ProgressBar control does not work and always puts default colors.
Win Xp sp2
Greetings.
As Grigory said, themed XP and Vista applications, does ignore color messages for some controls.
IMHO, this is because MS wants that most controls colors being, theme colors.
I agree with this. I guess that non-theme colors should be used only in very special situations, when is really needed, if not, the interface becomes clumsy and confusing for the user.
Besides that, there is another issue that I've already commented:
You could, eventually 'paint' any control 'by hand' using a method called 'owner-drawn'.
The problem with it, is that the control appearance could become not consistent with the other (not owner-drawn) controls from a Windows version to another.
This currently could happen between Win9x apps and XP-themed/Vista-themed ones.
This is because I've avoided the use of 'owner-drawn' controls.
A clear example of this, is the tab control background.
In XP-themed apps it is filled with a color gradient depending on selected theme. having a background color for tab could give us an ugly an terribly inconsistent look.
Regards,
Roberto.