Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
API ProgressBar, no XP theme
Message
 
 
To
02/12/2005 09:06:34
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01074182
Message ID:
01074210
Views:
19
Hi Carlos,

This is not really an answer on your question, but I suggest you to contact Alex Grigorjev member #019702, because he has a lot of experience in this topic.


>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
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform