Help using LVM_REDRAWITEMS (1 Viewer)

tony007

Registered User.
Local time
Today, 00:46
Joined
Jun 30, 2005
Messages
53
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


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
 

Users who are viewing this thread

Top Bottom