Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
API ProgressBar, no XP theme
Message
From
02/12/2005 13:54:55
 
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:
01074339
Views:
19
>The version 6 progress bar OCX will not theme. The 'older', version 5 prgress bar will theme.
>

Terry, thank you for your answer.

I knew that one, but I am not using the common controls ocxs to create the progressbar.

I am calling API functions directly in comctl32.dll to create the progressbar.

In fact, the version 5 ocx does the same thing as my class to draw a progressbar, thats why version 5 themes, it calls comctl32.dll to do all the work.

Version 6 ocx does not theme because it does not use comctl32.dll to do its job.

The progressbar class I am writing is just a FoxPro visual class, and it is a direct replacement for the version 5 ocx, but updated with the new properties of the progressbar control (marquee, etc).

By the way I think I found something, the SetWindowTheme API Function, now all I have to do is figure out how to use it. Sounds like lots of fun! :-)

Carlos
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform