Simple way to calculate edges of window on screen?
I cannot seem to find a simple way to calculate where the edges of a window are based on the window information text complete gives me. I have tried quite a few different calculations to use the numbers below to find the edge all have been unsuccessful. Unless I am missing something there is no way to use the numbers to get the screen edge, I have to add some sort of fudge factor, it that true?
Re: Simple way to calculate edges of window on screen?
Why can't you use the properties you mentioned?
The ScreenLeft and ScreenTop properties will give coordinates of left and top edges relative to the screen coordinates;
Left and Top properties will give coordinates relative to the parent window.