Information générale
Catégorie:
Fonctions Windows API
Versions des environnements
>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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement