I think you are right to push me towards SetItemState, after all. I'm re-reading the documentation and I think I had read it too quickly. Thanks for your help. -Jean
> -----Original Message----- > From: Palmer, Jean L. > Sent: Wednesday, May 26, 2004 8:20 AM > To: [EMAIL PROTECTED] > Subject: RE: [msvc] ListView_SetCheckState > > > Carlos, > I have ListView_SetItemState already. What I need is > ListView_SetCheckState. Are you missing it, too? > > -Jean > > > -----Original Message----- > > From: Juan Carlos [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, May 25, 2004 5:42 PM > > To: [EMAIL PROTECTED] > > Subject: Re: [msvc] ListView_SetCheckState > > > > > > OK, I see ... This is the #define code taken from my COMMCTRL.H: > > > > #define LVM_SETITEMSTATE (LVM_FIRST + 43) > > #define ListView_SetItemState(hwndLV, i, data, mask) \ > > { LV_ITEM _ms_lvi;\ > > _ms_lvi.stateMask = mask;\ > > _ms_lvi.state = data;\ > > SNDMSG((hwndLV), LVM_SETITEMSTATE, (WPARAM)i, (LPARAM)(LV_ITEM FAR > > *)&_ms_lvi);\ > > } > > > > > > Ciao, > > Carlos > > _______________________________________________ > msvc mailing list > [EMAIL PROTECTED] > See > http://beginthread.com/mailman/listinfo/msvc_beginthread.com > for subscription changes, and list archive. > _______________________________________________ msvc mailing list [EMAIL PROTECTED] See http://beginthread.com/mailman/listinfo/msvc_beginthread.com for subscription changes, and list archive.
