The version 6 progress bar OCX will not theme. The 'older', version 5 prgress bar will theme.
>I am creating a progressbar class (Yet Another ProgressBar Control), that uses API functions to generate a progressbar, using CreateWindowEx and msctls_progress32 as lpClassName.
>
>In Windows XP, if a theme is applied, the progressbar is drawn using the active theme. If no theme is applied, the progressbar is drawn the "classic" way, and properties like BackColor and BarColor apply.
>
>In VFP9, I would like to support the setting of the Themes property for a form, and the setting of SYS(2700), so if themes is disabled, I want the progressbar to be drawn with no theme.
>
>I cant find a way to do that, my progressbar is always drawn using the active Windows theme.
>
>I have been reading about uxtheme.dll but I don't know if that is the path to follow.
>
>Any ideas or suggestions as to how to easily draw a comctl32.dll based windows control with no theme using API?
>
>Carlos
Imagination is more important than knowledge