2006年09月18日 星期一 19:33
Çë½Ìlimodou£¬ÔõÑùͨ¹ýwin32guiÏòÒ»¸öSysListView32·¢ËÍLVM_SETITEMSTATEÏûÏ¢£¬ ¸Ð¼¤²»¾¡¡£ ÕâÊÇmsdnÉÏÃæ¶ÔLVM_SETITEMSTATEÏûÏ¢µÄÃèÊö LVM_SETITEMSTATE This message changes the state of an item in a list-view control. You can send this message explicitly or by using the *ListView_SetItemState* macro. *LVM_SETITEMSTATE **wParam* = *(WPARAM)(int)* *i**;* *lParam* =* (LPARAM)(LVITEM FAR *)* *pitem**;* Parameters *i * Index of the list-view item. If this parameter is ¨C1, 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. Return Values If you send this message explicitly, TRUE indicates success. FALSE indicates failure. Remarks *Related macro:* ListView_SetItemState<http://msdn.microsoft.com/library/en-us/wceui40/html/cereflistview_setitemstate.asp> Requirements *OS Versions:* Windows CE 1.0 and later. *Header:* Commctrl.h. See Also ListView_SetItemState<http://msdn.microsoft.com/library/en-us/wceui40/html/cereflistview_setitemstate.asp>| List-View Controls Messages<http://msdn.microsoft.com/library/en-us/wceui40/html/ceconlistviewcontrolsmessages.asp> -------------- next part -------------- An HTML attachment was scrubbed... URL: http://python.cn/pipermail/python-chinese/attachments/20060918/008afbd3/attachment.html
2006年09月18日 星期一 19:37
On 9/18/06, ÒüÏéÁú <yinxianglong在gmail.com> wrote: > > Çë½Ìlimodou£¬ÔõÑùͨ¹ýwin32guiÏòÒ»¸öSysListView32·¢ËÍLVM_SETITEMSTATEÏûÏ¢£¬ > ¸Ð¼¤²»¾¡¡£ > > ÕâÊÇmsdnÉÏÃæ¶ÔLVM_SETITEMSTATEÏûÏ¢µÄÃèÊö > > > LVM_SETITEMSTATE > > > This message changes the state of an item in a list-view control. You can > send this message explicitly or by using the ListView_SetItemState > macro.LVM_SETITEMSTATE wParam = > (WPARAM)(int) i; > lParam = (LPARAM)(LVITEM FAR *) pitem; > > Parameters i Index of the list-view item. If this parameter is ¨C1, 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. > Return Values > > If you send this message explicitly, TRUE indicates success. FALSE indicates > failure. > Remarks > > Related macro: ListView_SetItemState > Requirements > > OS Versions: Windows CE 1.0 and later. > Header: Commctrl.h. > See Also > > ListView_SetItemState | List-View Controls Messages ÎÒû¸ã¹ý£¬Ã»ÔõôÓùýpywin32°ü¡£²»¹ýÓÐÒ»±¾Êé½Ð Python Programming on win32Óв»ÉÙ¹ØÓÚÔÚwindowsÉϱàÂ룬ʹÓÃpywin32µÄÀý×Ó£¬Äã¿ÉÒԲο¼Ò»Ï¡£ÓÐÒ»¸öftpµØÖ·Äã¿ÉÒÔÕÒµ½£º ftp://202.96.64.144/pub/books/ -- I like python! My Blog: http://www.donews.net/limodou UliPad Site: http://wiki.woodpecker.org.cn/moin/UliPad UliPad Maillist: http://groups.google.com/group/ulipad
Zeuux © 2025
京ICP备05028076号