How to detect which screen /display user clicked on?

Discuss any general programming issues here
Post Reply
ilbarbax
Posts: 155
Joined: Thu Apr 01, 2010 6:41 pm

How to detect which screen /display user clicked on?

Post by ilbarbax »

and second questioin...how to determine the relative mouse position on the selected screen?

I have 4.7 version.

Thanks
User avatar
airsoftsoftwair
Posts: 5887
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: How to detect which screen /display user clicked on?

Post by airsoftsoftwair »

What exactly do you mean by "screen"? A Hollywood display? Then you can simply install an event handler using InstallEventHandler(). The message you get in your callback function will contain the ID of the display that received the event.
Post Reply