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

2009-03-06 Thread jkarpago

Thanks for the help.
I will try it asap.



Ivan N. Zlatev wrote:
> 
> On Tue, Feb 24, 2009 at 6:46 PM, jkarpago  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@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.

___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


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

2009-03-04 Thread Ivan N. Zlatev
On Tue, Feb 24, 2009 at 6:46 PM, jkarpago  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@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


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

2009-03-04 Thread jkarpago

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?
-- 
View this message in context: 
http://www.nabble.com/how-do-i-get-mouse-position-on-the-screen--tp22187973p22187973.html
Sent from the Mono - Dev mailing list archive at Nabble.com.

___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list