Screen Points Coordinates Location etc.

  • Thread starter Thread starter Smokestack
  • Start date Start date
S

Smokestack

Anyone have a good source for me to read about and hopefully understand
points, coordinates, locations, desktopbounds etc. I want to be better able
to set dialog locations, sizes etc.

Thanks.
 
You can try MSDN: http://tinyurl.com/cvt57, but really there's not much to
it: By default, a control's coordinates are relative to its location. In
other words, if you create a Form with a button, the Form's location is
relative to the upper-left of the desktop, and the button's Location is
relative to the upper-left of the form.

The functions Control.PointToScreen and Control.PointToClient may also help.

/m
 
Back
Top