Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
LVM_SETBKCOLOR Message
Message
 
 
To
21/03/2007 02:10:32
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
01204381
Message ID:
01206476
Views:
21
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform