OnMessage example doesn't support negative x, y coordinates

Share your ideas as to how the documentation can be improved.
User avatar
Ragnar
Posts: 627
Joined: 30 Sep 2013, 15:25

Re: OnMessage example doesn't support negative x, y coordinates

Post by Ragnar » 04 May 2024, 14:36

OnMessage example doesn't support negative x, y coordinates
Yes, because the example was added in 2005, when only one monitor was usually used and therefore negative coordinates were irrelevant. If you want this example to take this into account, you need to make a specific suggestion for improvement, as the example itself is not wrong.
just me
Posts: 9530
Joined: 02 Oct 2013, 08:51
Location: Germany

Re: OnMessage example doesn't support negative x, y coordinates

Post by just me » 06 May 2024, 02:00

Code: Select all

    X := lParam << 48 >> 48
    Y := lParam << 32 >> 48
Post Reply

Return to “Suggestions on Documentation Improvements”