Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
API ProgressBar, no XP theme
Message
De
02/12/2005 13:54:55
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01074182
Message ID:
01074339
Vues:
18
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform