Hi,
I'm working on restoring the aero snap functionality in my wpf c# app which was lost when setting the resize to none. I have a rectangle at the top of my window of which I add code to its mouseleftbuttondown event.
I want to check whether the mouse has moved when the rectangle is being clicked so I can then de-maximize the window using code.
The second part of my question is how can I track whether the cursor is at the top, left or right side of the screen so I can run code for the window to maximize or to align left or right of the screen like aero snap.
Thanks,