Currently I'm making a small gadget that made in WPF. It shows and hides according to another window's state.
So, let me name that another window be A. When A get shown or maximized, my gadget shows. When A minimized, my gadget hides.
So, how can I detect the change in state of a window of another process which is not in .NET? Btw sorry for my bad English :P