Wrox Programmer Forums
|
VB How-To Ask your "How do I do this with VB?" questions in this forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB How-To section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 7th, 2006, 03:27 AM
Friend of Wrox
 
Join Date: Mar 2005
Posts: 264
Thanks: 0
Thanked 0 Times in 0 Posts
Default Help using LVM_REDRAWITEMS

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









Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.