I decided to cite myself by writing a music player in Visual Studio 2010. Listen and hear that it will be a good base from the skin.
I want to program my window with the behavior where the window comes to the edge of a screen (within 10px or more) this picture will be the best way to go about this on the screen edge. What is it?
To get the notifications first, the edges are coming closer to the screen:
< Ol>Then there is a list of todds, the window edge is close to the screen edge.
-
Whether there are multiple monitors or not, if the window is completely inside the monitor will help you get monitor notification.
-
Handling the cracking of the edge will require little bit of reset arithmetic acne for this one. Then you set either, or
You will need conditional code for each side, but it will look something like this:
Zero snap window (window window, size) Monitor size) {if (window.Left & lt; c_SnapThreshold & amp; window; lift & gt; 0) window.Left = 0; If the window window (window + window.heath> (Monitorwise with - Snap troldhold) & window below + window, right there & amp;; Monitorwise Width) window. Predicate = monitors. Width - window; the lift; // click on the right edge .. // etc}
}
Comments
Post a Comment