OnMessage example doesn't support negative x, y coordinates

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

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

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: 9513
Joined: 02 Oct 2013, 08:51
Location: Germany

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

06 May 2024, 02:00

Code: Select all

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

Return to “Suggestions on Documentation Improvements”

Who is online

Users browsing this forum: No registered users and 7 guests