Added info about nItem parameter of SetItemState.#2512
Conversation
Added info about nItem parameter of SetItemState(). Referred to the following sources. https://docs.microsoft.com/en-us/windows/win32/api/commctrl/nf-commctrl-listview_setitemstate?redirectedfrom=MSDN https://docs.microsoft.com/en-us/windows/win32/controls/lvm-setitemstate?redirectedfrom=MSDN https://stackoverflow.com/a/40022635/981766
|
@lihas : Thanks for your contribution! The author(s) have been notified to review your proposed change. |
TylerMSFT
left a comment
There was a problem hiding this comment.
Thank you for adding this useful info.
Could we phrase this to be more direct: Pass -1 to apply the state change to all items.
|
@lihas : Thanks for your contribution! The author(s) have been notified to review your proposed change. |
Made the change as you suggested. The merge can proceed now. |
Repeat edit to content.
|
@corob-msft : Thanks for your contribution! The author(s) have been notified to review your proposed change. |
Reword for context.
|
@corob-msft : Thanks for your contribution! The author(s) have been notified to review your proposed change. |
colin-home
left a comment
There was a problem hiding this comment.
@lihas Thanks for the updates.
Added info about nItem parameter of SetItemState().
Referred to the following sources.
https://docs.microsoft.com/en-us/windows/win32/api/commctrl/nf-commctrl-listview_setitemstate?redirectedfrom=MSDN
https://docs.microsoft.com/en-us/windows/win32/controls/lvm-setitemstate?redirectedfrom=MSDN
https://stackoverflow.com/a/40022635/981766