2004-07-26 Hartmut Honisch <hhonisch@users.sourceforge.net>
* include/commctrl.h (TreeView_SetItemState): Define macro.
This commit is contained in:
parent
751ba44030
commit
69e26fe33c
|
@ -1,3 +1,7 @@
|
|||
2004-07-26 Hartmut Honisch <hhonisch@users.sourceforge.net>
|
||||
|
||||
* include/commctrl.h (TreeView_SetItemState): Define macro.
|
||||
|
||||
2004-07-24 Danny Smith <dannysmith@users.sourceforge.net>
|
||||
|
||||
* include/wingdi.h (CMYK): Correct macro. Group CMYK/RGB
|
||||
|
|
|
@ -3212,6 +3212,14 @@ WINBOOL WINAPI ImageList_DrawIndirect(IMAGELISTDRAWPARAMS*);
|
|||
#endif
|
||||
#if (_WIN32_IE >= 0x0500)
|
||||
#define TreeView_GetItemState(w,i,m) (UINT)SNDMSG((w),TVM_GETITEMSTATE,(WPARAM)(i),(LPARAM)(m))
|
||||
#define TreeView_SetItemState(w,i,d,m) \
|
||||
{ \
|
||||
TVITEM _tvi;\
|
||||
_tvi.mask=TVIF_STATE;\
|
||||
_tvi.stateMask=m;\
|
||||
_tvi.state=d;\
|
||||
SNDMSG((w),TVM_SETITEM,0,(LPARAM)(TVITEM*)&_tvi);\
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef UNICODE
|
||||
|
|
Loading…
Reference in New Issue