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 2 2864
"Rudiga" <no**@none.ne t> wrote in message
news:5n******** ***********@new sfe4-win.ntli.net...
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
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.
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" <no**@none.ne t> wrote in message
news:_C******** ***********@new sfe2-win.ntli.net... "Rudiga" <no**@none.ne t> wrote in message news:5n******** ***********@new sfe4-win.ntli.net...
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
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. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: John Champaign |
last post by:
Hi all,
I'm working on an educational applet for a child with special needs.
He's got a bit of a trick to make my life more difficult... To interact
with the applet he needs to click on buttons, which is fine most of the
time (he comes from a Mac environment, so I accept mouse clicks from the
right or left button when he's working on the PC). But every once in a
while, he'll press and hold the right mouse button, move onto a JButton,...
|
by: fernandoronci |
last post by:
Hi,
I've been given the task of mantaining and fixing a website which I
didn't design.
I'm using Internet Explorer 5.5 and 6.x.
Specifically, the problem is that navigation menues (written in
javascript) don't disappear when the mouse moves outside of the area of
the menues (some of the menues are nested two and three levels). As
long as the mouse cursor remains *within* the options of the menues,
the option under the mouse cursor is...
|
by: Logan Mckinley |
last post by:
I need to be able to detect mouse movement even when it is not over my
application. I can get the mouse cords using MousePosition but I am not
sure if there is an event that hits my program when the mouse is not over my
program.
One idea i had was make a child form that was transparent and use the
MouseMove event to keep that transparent window under the mouse but the
transparent window did not catch the MouseMove event.
I also tried...
|
by: NeoAsimov |
last post by:
Hello,
There is what I want to do. I worked on the problem since 6 hours but
I had a problem (probably stupid) and I dont know how to resolve it.
I need to have an Mouse Event Click when I click on the frame of a
window form ( like the title bar of a window).
|
by: Anders Eriksson |
last post by:
Hello!
I have a program with three views
------------------------------------
| | |
| 1 | 2 |
| | |
| |--------------------------|
| | |
| |
by: Nikolay Petrov |
last post by:
I have a ListBox, which is binded to a DataTable.
I would like to display a tooltip when the mouse cursor hovers over the
items in the ListBox.
I don't know how to find the index if ListBox item, on which mouse
cursor is over and how to display the tooltip.
Any suggestions?
TIA
|
by: Pavan |
last post by:
My goal is to accomplish the tooltip functionality for all the neodes in a
tree view and i have the following three Events in my C# application.
Name of my TreeView Control (AITreeView)
1) AITreeView_MouseDown(object sender, MouseEventArgs e)
2) AITreeView_MouseUp(AITreeView_MouseDown(object sender, MouseEventArgs e)
3) AITreeView_Click(AITreeView_MouseDown(object sender, MouseEventArgs e)
|
by: Rob |
last post by:
This is a curious problem. It seems like it should be quite easy. Of course
a timer is used to determine when form should be closed, but how do you
consistently reset the timer when the mouse is moved over the form.
Normally I would use the MouseMove event to know when the mouse moves over
the form and use that to reset the timer. However, this fails on a form that
has a large number of controls of the form. The Form.MouseMove event...
|
by: markszlazak |
last post by:
In the following script, a control displays (black box) in each table
cell once you mouse over the cell. Mouse down on the control to change
the mode of the table. Drag the mouse over cells in the same column
then mouseup anywhere in a cell. The mouseup event sometimres fires
before the selection of table cells by dragging is complete. It's
important that I stop these "false" mouseup's from firing or
distinguish them from when I let go of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |