Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
LVM_SETBKCOLOR Message
Message
 
 
À
21/03/2007 02:10:32
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
01204381
Message ID:
01206476
Vues:
22
>Hi Naomi,
>
>I've fixed the commctrl.h file but I still encounter the same problem
>variable 'LVM_SETBKCOLOR' is not found
>
>Here is my code that I placed in the Init Event of my form
>
>#INCLUDE windows.h
>#INCLUDE C:\commctrl.h
>
>* Use SendMessage to tell apps we've changed the system time.
>DECLARE INTEGER SendMessage IN win32api;
>		INTEGER WindowHandle,;
>		INTEGER MESSAGE,;
>		STRING Param1,;
>		STRING Param2,;
>		
>* SendMessage constants.
>#DEFINE hwnd_listview thisform.olelistView.hWnd
>#DEFINE wparam1 0
>#DEFINE wparam2 8923479
>#DEFINE wparam3 4097 && LVM_SETBKCOLOR
>
>lret = SendMessage(hwnd_listview,wparam3,wparam1,wparam2)
I made one small correction inside. I don't think you need to include header files, since you're not using them.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform