How to Send the Message using win32gui?

尹祥龙 yinxianglong at gmail.com
Mon Sep 18 07:07:16 CEST 2006


I want to send *LVM_SETITEMSTATE message using win32gui. But I don't know
how to *do in Python.

the *LVM_SETITEMSTATE's message format as following:*
**
**
 *LVM_SETITEMSTATE **wParam* = *(WPARAM)(int)* *i**;*
 *                                  lParam* =* (LPARAM)(LVITEM FAR *)* *
pitem**;*
**
 *i * Index of the list-view item. If this parameter is –1, then the state
change is applied to all items. *pitem * Pointer to an *LVITEM* structure.
The *stateMask* member specifies which state bits to change, and the
*state*member contains the new values for those bits. The other
members are
ignored.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20060918/f60c4f47/attachment.html>


More information about the Python-list mailing list