[Mono-dev] how do i get mouse position on the screen?

jkarpago jkarpago at gmail.com
Fri Mar 6 04:38:10 EST 2009


Thanks for the help.
I will try it asap.



Ivan N. Zlatev wrote:
> 
> On Tue, Feb 24, 2009 at 6:46 PM, jkarpago <jkarpago at gmail.com> wrote:
>>
>> Hi:
>>
>> I want to know where is the mouse in the screen, not the app window but
>> the
>> whole screen.
>> I have tried width cursor, mouse, pointer and did not find a solution.
>> how can I do it?
> 
> Hi,
> 
> WinForms or GTK#? In WinForms try the static property
> Control.MousePosition and for GTK# the
> someWidgetInstance.RootWindow.GetPointer (...) method.
> 
> --
> Kind Regards,
> Ivan N. Zlatev
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
> 
> 

-- 
View this message in context: http://www.nabble.com/how-do-i-get-mouse-position-on-the-screen--tp22187973p22369065.html
Sent from the Mono - Dev mailing list archive at Nabble.com.



More information about the Mono-devel-list mailing list