View Full Version : Help using LVM_REDRAWITEMS


tony007
07-07-2006, 12:06 AM
could any one show me how i can send an external listview a refresh using LVM_REDRAWITEMS .Thanks

I want to send refresh after setting the color


visual basic code


lItemPos = 0& ' first item
SendMessage hwnd, LVM_SETITEMSTATE, lItemPos, ByVal lxprocLVITEM

'SendMessage hwnd, LVM_SETTEXTBKCOLOR, 0, hexdec(16711935)
'SendMessage hwnd, LVM_SETTEXTBKCOLOR, 0, 16711935
'SendMessage hwnd, LVM_SETTEXTBKCOLOR, 0&, 0&
SendMessage hwnd, LVM_SETTEXTBKCOLOR, 0, 16711935

=> here i want to send a refresh to listview