Re: listview usage
"igorv007" <igorv007-/[email protected]>
| Newsgroups | gmane.comp.windows.wtl |
|---|---|
| Message-ID | <[email protected]> |
Retrieve indexes of all selected items
UINT uSelectedCount = GetSelectedCount();
int nIndex = -1;
// Loop through all selected items
for (UINT i = 0; i < uSelectedCount; i++)
{
// Search for the next selected list control item and get its index
nIndex = GetNextItem(nIndex, LVNI_SELECTED);
if (nIndex != LB_ERR)
...
}
--- In [email protected], carr å¸
<shuaixh@...> wrote:
>
>
> does anyone have SDK demo codes about how to get multiselected lines of a listview control ??
> Â
> it seems, there's no wrapper in WTL. it's easy in MFC..
>
>
> ___________________________________________________________
> 好ç©è´ºå¡çä½ å`ï¼é®ç®±è´ºå¡å
¨æ°ä¸çº¿ï¼
> http://card.mail.cn.yahoo.com/
>
> [Non-text portions of this message have been removed]
>
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/wtl/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/wtl/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:[email protected]
mailto:[email protected]
<*> To unsubscribe from this group, send an email to:
[email protected]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/