How do you restore a maximized window set by aero snap?

Posted in dotnet, vb, vb.net | No Comments »

In my application I created a grid covering the top part, set a mouseleftbutton down event igniting the following code:

Drag.This;

When I drag the window to the top, Aero snap automatically maximizes the window. Now I would like the window to “Unmaximize” by clicking and dragging again (similar to zune software)

Please help me out, the window stays maximized and the click/drag action does nothing

Similar:

  1. How can I make a WPF window maximized on the screen with the mouse cursor? According to the MSDN documentation for the WindowStartupLocation Property: Setting CenterScreen causes a window to be positioned in the center of the screen that contains...
  2. Maximized MDI form behavior My program shows some browser. From a browser user can open maximized MDI form with some report. When user is closing the report, first MDI...
  3. How can I open a new window with hyperlink, as opposed to it not using the same window?  How can I open a new window with hyperlink, as opposed to it not using the same window? Also, is there anyway to open it...
  4. How to disable parent window on opening child window Hi, I have an anchor tag in my form. On click am opening a child window. Now user should not be able to do anything...
  5. windows form UI simple question Hey: i am very new to windows form UI development. now i am just doing all the drop and drop for UI design. but the...

Leave a Reply