winapi - VB.NET - Timer Every Second Monitoring Windows Application Titles -


i have vb.net desktop application i'm using monitor events in windows application running on system. need respond events in matter of seconds. 1 of events i'm monitoring instantly changes window title of child window within main process (i'm not changing it, application i'm monitoring causes change in it's own child window title). have function uses windows api's iterate through title text of process's child windows, , i'm checking values in titles.

is bad idea running timer/title check once every second? there performance issues associated running timer in windows every second 24/7? bad performance calling api's retrieve titles of application's child windows? cause application crash sending requests often?

thanks!

you have benchmark see, if recall correctly, iterating through every window has significant overhead.

can't monitor single window? if that, should fine.


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -