Can I subscribe to window-docking events in windows 7 from C#

Posted by www.mortenbock.dk on Stack Overflow See other posts from Stack Overflow or by www.mortenbock.dk
Published on 2010-06-13T08:59:01Z Indexed on 2010/06/13 9:02 UTC
Read the original article Hit count: 161

Filed under:
|

Hi.

I am wondering if it is possible to create an application that could receive a notification when any other application/window is docked with the new windows 7 docking feature (f.ex. Winkey + left arrow)

The purpose of my application would be to set up custom rules for certain windows. So for example if I am using Chrome and I press the Win+LEFT keys, then my application would receive a notification, and would be able to say that the window should not resize to 50% of the screen, but should use 70%.

I am not very familiar with writing windows applications (mostly do web), so any pointers at how this might be achieved are very welcome.

Thanks.

© Stack Overflow or respective owner

Related posts about c#

Related posts about windows-7