Philip
Fri Jan 13 09:49:25 CST 2006
Yes, mouse events for forms *do* work in .Net CF 1 and 2. But I doubt if
this suggestion would.
"MSenne" <yoat42@gmail.com> wrote in message
news:1137164622.547996.212780@f14g2000cwb.googlegroups.com...
> Yes, you can probably do this by detecting the desired Mouse* event in
> a Form and checking the "mouse" position coordinates. Check the
> MouseEventArgs in your event handler and compare with the coordinates
> of your control to find out if it's had a mouse event triggered inside
> its bounds.
>
> Check the Form class members for events you can handle:
>
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemwindowsformsformmemberstopic.asp
>
> I'm pretty sure that stuff is all compatible with the .NET CF but the
> MSDN lib never says if Event Handlers are CF compatible.
> Good luck!
> -MSenne
>