- This topic has 2 replies, 3 voices, and was last updated 16 years ago by Admin.
-
AuthorPosts
-
March 29, 2008 at 3:32 pm #187590IMAFriendMember
So, some of the code I’ve learned from uses the richtext chatroom text to get nicks of incoming and outgoing nicknames.
I thought about, since I already have coded for the listview, instead of searching the really long text string based on previous position n stuff like that… Would it be quicker, or better, to go through the listview and look for nicks that aren’t in your previous array/list of nicks?
And, is there a way to check if the listview has changed, easily, other than on a timer?
Thanks again! My first app is coming together finally!
March 29, 2008 at 3:51 pm #187592AdminAdministratorah i think I know what you mean, all you goign to be doing is refreshing the nicks listbox to see if there are new nicks, well if its that, that will eat a lot of CPU I try doing the greeter like that once and man is crazy how much CPU it eats ands is much slower 🙂 and the only way to check for changes is with a timer, I think 🙄
March 29, 2008 at 6:30 pm #187591ChikeMemberMy program use a DLL that subclass the roon text and the user list, and does not need a timer at all. Everything is event driven. When a user enter the room my program get notified, if it’s status changed also, but it also has the ability to scan the user names and report their initial status. The text is also event driven, I use timer only to schedual cam starts so it won’t put a heavy load on paltalk when sometimes 10 cams open at once (like when you enter/connect a room.)
I believe this DLL can be integrated with basic, however using it is not trivial, since the DLL library use native threads and .NET objects are not always thread safe (like form.)
I have another DLL that monitor room windows activity (create/activate/destroy) to know if a new room is oppened or pal is closed etc. -
AuthorPosts
Related
- You must be logged in to reply to this topic.