* include/commctrl.h (TreeView_SetItemState): Initilise

_tvi.hItem.
	Thanks to Joseph Remes <jremes at users dot sourceforge dot net>
This commit is contained in:
Danny Smith 2005-07-18 10:12:49 +00:00
parent 6c325681e2
commit ea4ec94347
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2005-06-18 Danny Smith <dannysmith@users.sourceforge.net>
* include/commctrl.h (TreeView_SetItemState): Initilise
_tvi.hItem.
Thanks to Joseph Remes <jremes at users dot sourceforge dot net>
2005-07-18 Mattia Barbon <mbarbon@users.sourceforge.net>
* include/commctrl.h (NMLVFINDITEM): Add structure.

View File

@ -3233,6 +3233,7 @@ WINBOOL WINAPI ImageList_DrawIndirect(IMAGELISTDRAWPARAMS*);
{ \
TVITEM _tvi;\
_tvi.mask=TVIF_STATE;\
_tvi.hItem=i; \
_tvi.stateMask=m;\
_tvi.state=d;\
SNDMSG((w),TVM_SETITEM,0,(LPARAM)(TVITEM*)&_tvi);\