Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Anyone ever played with OpenThemeData() ?
Message
De
23/12/2005 23:20:14
 
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 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01080536
Message ID:
01080660
Vues:
20
>
>however OpenThemeData always returns a handle of 0.
>
>Tried several things with bits I found in the net.
>
>current code is something like this:
>
>#define handle long
>
>declare handle OpenThemeData in uxtheme.dll long hWnd, string pszClasslist
Is that what you are using? "declare handle"?

Try:
DECLARE INTEGER OpenThemeData IN uxtheme.dll;
	INTEGER hWnd,;
	INTEGER pszClassList
From the Help File:

DECLARE [cFunctionType]....

cFunctionType:

SHORT
INTEGER
SINGLE
DOUBLE
LONG
STRING
OBJECT

I dont see "HANDLE" listed. Could that be the problem?

[EDIT]

No, I see you did #define handle long

Carlos
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform