开发者

What control will be best for Buddy List?

开发者 https://www.devze.com 2022-12-23 14:40 出处:网络
I\'m developing a xmpp chat client in C#.NET. I\'m little co开发者_如何学Gonfused about what control should I use for Buddy list. Buddy list will consist of status icon, name & his buddy pic. Can

I'm developing a xmpp chat client in C#.NET. I'm little co开发者_如何学Gonfused about what control should I use for Buddy list. Buddy list will consist of status icon, name & his buddy pic. Can u please recommend that what control will be best for me to use? (Do u think that ListView will be appropriate?)

Another question, I'm using agsxmpp. Does it support invisible status in Gtalk. Is there any library out there bettre than this ?

Thanks.


I think the ListView would be fine, it supports everything you would need. You could also go with an owner-draw ListBox if you want something with a little more flexibility (though obviously, that'd be more work).

As for your other question, I'm not sure. You might want to check the documentation for the library.


Using TreeView will be the best control, it will help you in grouping buddies. I used it before for the same purpose.


The RosterTree code in Jabber-Net would be a good starting point. It already does owner-draw, and could be pretty easily extended to do avatars by modifying the DrawItem method.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号