CMFCListCtrl- LVSICF_NOINVALIDATEALL

  • Thread starter Thread starter sgrm123
  • Start date Start date
S

sgrm123

Guest
Hi,

I am using LVSICF_NOSCROLL flg for SetItemCount().

when to use flag LVSICF_NOINVALIDATEALL?

I saw the msdn explanation LVM_SETITEMCOUNT message, I could not understand properly.

I have items in list control as below.

S

A

R

After sorting it became like below

A

R

S

If I add new item called B

the list control is getting updated like this

A

R

S

S

If I dont use the flag LVSICF_NOINVALIDATEALL I am getting the list like below.

A

B

R

S


I dont know when to use the flag LVSICF_NOINVALIDATEALL.

Continue reading...
 
Back
Top