Skip to main content
5 events
when toggle format what by license comment
Jan 31, 2018 at 11:19 vote accept CommunityBot
Jan 31, 2018 at 2:24 comment added Wyck @GabrieleVierti No, It doesn't really matter. It just makes the calculation of where the window postion all that much easier. If the client rectangle is offset relative to the position of the window, then that's yet another offset you will have to take into consideration - and often mouse coordinates are given in client coordinates (relative to a point that is in the interior "client" portion of the rect, below the titlebar). Whereas the window position itself is often (0,0) in window coordinates (relative to the top left corner outside the window - above the titlebar).
Jan 30, 2018 at 19:26 comment added user100681 Okay, thanks for the answer! I'm going to test this out as soon as possible. Is there a particular reason why we store the position of the cursor relative to the upper left corner of the window instead of its center?
Jan 30, 2018 at 18:16 review First posts
Jan 30, 2018 at 19:12
Jan 30, 2018 at 18:14 history answered Wyck CC BY-SA 3.0