Not logged in. · Lost password · Register
Forum: XMPP Protocol RSS
Avatar
david.felix #1
Member since Jul 2015 · 23 posts
Group memberships: Members
Show profile · Link to this post
Subject: Best control for holding contacts
Hi! Please i am building an IM application using agsxmpp and i am using the rostercontrol to hold contacts. Its working fine. But i can't find a way to add contacts pictures and status to the roster control.

Please is there a way of doing this or do i have to use another control for this. And if i have to use another control, what control would be recommended?

Thanks in advance.
Avatar
Alex #2
Member since Feb 2003 · 4322 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
This depends on what you want to achieve, which functionality you need and which GUI framework you are using (Winforms, WPF, other).
The roster is one of the most important functions in a chat client. The roster control in the MiniClient is only a very basic example. Its based on the Winforms Treeview which is very limited. In the most clients we wrote, we used either commercial controls, custom user controls or a datagrid which also can work very well.

Alex
Avatar
david.felix #3
Member since Jul 2015 · 23 posts
Group memberships: Members
Show profile · Link to this post
First of all Thanks a lot for the fast and helpful response. I am doing it on winforms. Can i use datagridview or listview? Please which one do you think will be easy and what do you think skype is using for theirs?

Thanks a lot.
Avatar
Alex #4
Member since Feb 2003 · 4322 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
I have no idea what Skype is using. In my opinion also Skype is not a good reference. UI wise this software is not very user friendly to me.

As I said before, it hardly depends on the features you are looking for.

  • Groups or flat list
  • Treeview like groups, expand collapse
  • Subgroups
  • sorting
  • search
  • hide offline contacts or others
  • Avatars
  • other icons or actions per users, eg status, tune or mood
  • etc.....
Avatar
david.felix #5
Member since Jul 2015 · 23 posts
Group memberships: Members
Show profile · Link to this post
Thanks. i want to be able to display user avatar behind their jids.

Thanks a lot.
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters: