I have a situation where I need to capture window changes of another window (which does not belong to my application, and I did not write it). I think it is written in C ++).
Actually I use a separate thread where I constantly do GetWindowState and fire custom events when this value changes (I have a window handle), but I would like to know if there is a better method
Thank,
PS I use winform if it can be useful anyway
source
share