Need guidance for chat conversion UI area designing (win form c#)
-
people often develop chat apps and they display chat conversion between two people in simple text box or rich text box. i want to develop a chat apps where i want to design chat conversion UI area look like Skype. 1) Skype chat conversion area show the conversion where other user name show as with different color 2) user can copy text from chat conversion area by mouse selection 3) chat conversion area is capable of showing emoticons. 4) chat conversion area can show progress bar when one user send file to other then progress bar is show at two end. so here i am uploading few screen shot of Skype chat conversion area as a result you guys can visualize and can understand what kind of UI i want to develop. please click on the two link to better understand what i am talking about. http://social.msdn.microsoft.com/Forums/getfile/262465[^] http://social.msdn.microsoft.com/Forums/getfile/262468[^] the problem is i am not being able to take decision how to develop chat conversion window where i need to show chat conversion data between two user and user name too. also that area must have capability of showing emoticon and progress bar and images. so just suggest me which control i should use to develop chat conversion windows. 1) should i use rich text box ? 2) should i use datagridview ? 2) should i use web browser control ? i need something which can show user name and user chat data and also emoticon and progress bar. please guide me how to develop. if possible give me some c# code. thanks
tbhattacharjee
-
people often develop chat apps and they display chat conversion between two people in simple text box or rich text box. i want to develop a chat apps where i want to design chat conversion UI area look like Skype. 1) Skype chat conversion area show the conversion where other user name show as with different color 2) user can copy text from chat conversion area by mouse selection 3) chat conversion area is capable of showing emoticons. 4) chat conversion area can show progress bar when one user send file to other then progress bar is show at two end. so here i am uploading few screen shot of Skype chat conversion area as a result you guys can visualize and can understand what kind of UI i want to develop. please click on the two link to better understand what i am talking about. http://social.msdn.microsoft.com/Forums/getfile/262465[^] http://social.msdn.microsoft.com/Forums/getfile/262468[^] the problem is i am not being able to take decision how to develop chat conversion window where i need to show chat conversion data between two user and user name too. also that area must have capability of showing emoticon and progress bar and images. so just suggest me which control i should use to develop chat conversion windows. 1) should i use rich text box ? 2) should i use datagridview ? 2) should i use web browser control ? i need something which can show user name and user chat data and also emoticon and progress bar. please guide me how to develop. if possible give me some c# code. thanks
tbhattacharjee
Tridip Bhattacharjee wrote:
please guide me how to develop
Use a rich-text box. Hardest part in a chat-application will be the server. After that, it's doing the messaging on a background-thread in the client, to keep the UI nicely responsive. The UI itself is hardly relevant at that point. I'd start with a plain textbox; once it works, make a backup. Then yank out that textbox, plugin a RTB. Or a WebBrowser. Or something more complex. (FWIW, example seems like a list of a custom-control, consisting of 2 labels and a HTML-capable label in the middle) The datagridview would be the fastest of those controls. The browser would be ideal, given that you can simply embed emotes as pictures in the text.
Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^]
-
Tridip Bhattacharjee wrote:
please guide me how to develop
Use a rich-text box. Hardest part in a chat-application will be the server. After that, it's doing the messaging on a background-thread in the client, to keep the UI nicely responsive. The UI itself is hardly relevant at that point. I'd start with a plain textbox; once it works, make a backup. Then yank out that textbox, plugin a RTB. Or a WebBrowser. Or something more complex. (FWIW, example seems like a list of a custom-control, consisting of 2 labels and a HTML-capable label in the middle) The datagridview would be the fastest of those controls. The browser would be ideal, given that you can simply embed emotes as pictures in the text.
Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^]
u said :- FWIW, example seems like a list of a custom-control, consisting of 2 labels and a HTML-capable label in the middle what is the meaning of FWIW? where to download it.
tbhattacharjee
-
u said :- FWIW, example seems like a list of a custom-control, consisting of 2 labels and a HTML-capable label in the middle what is the meaning of FWIW? where to download it.
tbhattacharjee