|
-
May 10th, 1999, 09:54 AM
#1
CListCtrl, Why doesn't this work?
I am trying to select all the items in a list control, but the below code doesn't seem to work... Can anyone tell me what I am missing?
int num_items = m_List.GetItemCount();
for (int i = 0; i < num_items; i++)
m_List.SetItem(i, 0, LVIF_STATE, NULL, 0, LVIS_SELECTED, LVIS_SELECTED, 0);
Thanks,
Jaime
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|