Hello, Please remove this if it's on the wrong forum. But I couldn't find anywhere to post programming questions..
I am writing a MDI interface chat client, and need some 'concept' help with the coding, in regards to creating and managing new channel and dialog windows withiin the MDI parent. This is my plan so far..
When needed create the new PrivateChatWindow form, then sets it's Name property to pmw#UserName, so when a new string is received from the socket, I can loop through the list of created Private chat forms and match the username who sent the message with the username in the pmw#UserName dialog window.
I would do the same with the channels. So far this is all I can think of, does anyone know any better/safer way to do this? Since I don't really like looping through all those forms (if they have a lot open) It would slow things down a lot.
Thanks,
vivi.