Jump to content

Recommended Posts

Posted

First of all: Love the program! Really, that summarizes it. I have not been able to find any fault so far. Especially the error handling (something many software authors treat with neglect) is superb!

 

Being a programmer myself, I am currently trying to figure out the best way to make multiple windows "snap" and "stick" together so that they can be moved together but also separated if desired. Since ImgBurn implements this quite nicely I want to ask Lightning if he might share what he used for this, and also the programming environment ImgBurn was written in.

 

Thanks!

Chris

Posted

It's all done manually.

 

Get the screen rectangle and the window rectangle. If any window edge is within 5 pixels (+ or -) of the screen edge when it's being dragged (moved), just override the new X & Y so it snaps to the screen edge.

 

Snapping to other windows just makes the whole thing that little bit more complex as there are extra edges to check against.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.