Connecting Tech Pros Worldwide Forums | Help | Site Map

Mouse over

Rudiga
Guest
 
Posts: n/a
#1: Feb 27 '06


Hi,

Is there any kind of mouse over type method in C#, that will change the
mouse to a different pointer when the mouse is over a picture box. The
reason i as is that i am intending to use a picture instead of a button to
move to another form and its not obvious, without writing on the user
interface, what to do. I thought a change in mouse pointer might help.

Thanks
Rudiga



Rudiga
Guest
 
Posts: n/a
#2: Feb 27 '06

re: Mouse over



"Rudiga" <none@none.net> wrote in message
news:5nDMf.36290$Fy4.19936@newsfe4-win.ntli.net...[color=blue]
>
>
> Hi,
>
> Is there any kind of mouse over type method in C#, that will change the
> mouse to a different pointer when the mouse is over a picture box. The
> reason i as is that i am intending to use a picture instead of a button to
> move to another form and its not obvious, without writing on the user
> interface, what to do. I thought a change in mouse pointer might help.
>
> Thanks
> Rudiga
>[/color]

is there also a similar thing for buttons too, i.e. if someone put the mouse
over a button i could trigger an event, ie another picture.


Ignacio Machin \( .NET/ C# MVP \)
Guest
 
Posts: n/a
#3: Feb 27 '06

re: Mouse over


Hi,

Is this a web or win app?

In a web app you can use either an IMG inside a <A> or an ImageButton
control

In a win environment you can detect when the mouse enter your control (or
leave it) and change the mouse at your will (take a look at the Cursor
class)


--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation

"Rudiga" <none@none.net> wrote in message
news:_CDMf.19298$bw1.17640@newsfe2-win.ntli.net...[color=blue]
>
> "Rudiga" <none@none.net> wrote in message
> news:5nDMf.36290$Fy4.19936@newsfe4-win.ntli.net...[color=green]
>>
>>
>> Hi,
>>
>> Is there any kind of mouse over type method in C#, that will change the
>> mouse to a different pointer when the mouse is over a picture box. The
>> reason i as is that i am intending to use a picture instead of a button
>> to move to another form and its not obvious, without writing on the user
>> interface, what to do. I thought a change in mouse pointer might help.
>>
>> Thanks
>> Rudiga
>>[/color]
>
> is there also a similar thing for buttons too, i.e. if someone put the
> mouse over a button i could trigger an event, ie another picture.
>[/color]


Closed Thread