I currently have an application which needs to have an awareness of which monitor the cursor is located when running in a multi-monitor configuration.
GetCursorPos and MonitorFromPoint.
Don't forget Screen.MonitorFromPoint and Mouse.CursorPos - these WinAPI functions are encapsulated in the VCL.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With