Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP8 does not support themed Common Controls ActiveX ?!?
Message
De
20/04/2004 12:34:20
 
 
À
20/04/2004 12:16:37
Arlei Silva
Chevron Oronite Brasil Ltda.
Capuava, Brésil
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00896096
Message ID:
00896551
Vues:
13

What I am looking for is a way to tell Visual FoxPro to use the controls on the version 6 of the COMCTL32.

Ok?


Thanks Arlei

The MS Article have the solution:


We fully realize that the new ComCtl32 has the potential to break some applications.
To prevent this, ComCtl32 version 6 is installed as a shared assembly,
side-by-side with ComCtl32 version 5, which is installed in the System32 directory.

The new DLL is only available to applications that provide a manifest telling the
operating system that they work with the new DLL. If they do not provide a manifest,
existing applications continue to use ComCtl32 version 5.

Versions 5 and 6 both ship with Windows XP and are installed side-by-side.
We'll talk more about manifests in the next section.

....

To make sure that your application uses the new visual styles in Windows XP, you need to make sure to link to ComCtl32 and use a manifest to specify the dependency on ComCtl32 version 6.
If you have any owner-drawn controls, start asking the uxtheme.dll to draw them, rather than drawing them yourself.
You'll need to do this if you want them to feel like the rest of the UI.

....


Then, the problem is not within VFP, but it is external to it.
We do have to find/write a Manifest for VFP8.
Dorin Message #896440 demonstrates that it is possible
to use the controls with Themes in VFP7 and, the think, in VFP6 too.

Ok?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform