473,582 Members | 3,083 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Something strange with with the mouse X,Y point - WindowsApplicat ion2.exe (0/1)

Hi,
I found something strange about the mouse's X,Y coordinates. Here's a
program I made for testing. Start by moving your mouse over the Label
on the left, then...move your mouse slowly from left to right until it
goes out of the label. You'll see the inconsistency in the X property.
When you move out of the label the X value seems to increment by a
number pixels. The same is true for the Y coordinate if you go
vertical.

Anyone knows why this is happening?
Thanks
Nov 16 '05 #1
0 994

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
1203
by: windandwaves | last post by:
Hi Gurus Please have a look at: http://switch.hosts.net.nz/~admin64/search.php On there, there is a map with image maps. On mouse over, the area and its label highlights. However, on mouse out, onmouseout, the highlights go away, however, when I highlight the next area (by moving my mouse over it), the label of the previous area gets...
11
3365
by: Ceri Williams | last post by:
I followed the excellent MSDN article "Code Generation in the .NET Framework Using XML Schema" to build a substitute for the limited xsd.exe. My code works fine under .NET framework 1.1, but after installing .net framework service pack 1, my code breaks. Below are trivial example files that demonstrate the problem: XSD FILE aaa.xsd...
2
4902
by: Serge Klokov | last post by:
Hi! 1. Please, help with example "paint on form by mouse" 2. Below is my example, but it clear the line after each Refresh()... how to fix? 3. How to draw the line in Mouse_Move event? private Boolean isCanPaint = false; private MouseEventArgs MouseEvent1;
1
2432
by: juli | last post by:
Hello! I am trying to write a function which will react on Mouse Event and I keep getting errors. error CS0029: Cannot implicitly convert type 'WindowsApplication2.MouseEventHandler' to 'System.Windows.Forms.MouseEventHandler' this is the code I added: public delegate void MouseEventHandler(object sender,...
19
24722
by: Oliver Neumann | last post by:
Hello, im new to c# and i got an app with a notifyicon. Now i want to start the app only with the notifyIcon, so that the Main-Form doesnt show up. The form itself is used at the entrance point of the app: Application.Run(new MainFrame()); Now i tried to use this to hide the Form and show up the trayBarIcon with this in the constructor...
4
13175
by: Never Best | last post by:
I have an application. I want it so when the user minimizs the window it goes into the system tray, and while in the system tray I don't want it in the "Alt-Tab" list. (When the program starts it starts in the system tray aswell; only shows main window if they double click). Currently to achive this when the user minimizes I have to set...
0
1132
by: sreekanth | last post by:
I have this interesting problem. I am creating multiple domains using AppDomain.ExecuteAssembly. I created domains App1, App2 and App3 (in the same order). If I close App1, both App2 and App3 close immediately. If you close App2, it will close App3 but not App1. It won't affect App1 and App2 if I close App3. I think they are kind of having...
3
3760
by: Morten Snedker | last post by:
If I have a number of random applications open, move the mouse cursor to a given position and do a click, the application gets the focus. That is what this simple code should illustrate: Dim pt As Point Dim wnd As IntPtr Const WM_LBUTTONUP = &H202 '//LButton up Const WM_LBUTTONDOWN = &H201 '//LButton down
5
7777
by: EggHead | last post by:
Hi all, My development environment is VB 6.0, and my OS is winxp. I would like to know how to find the mouse location at a control when the mouse is point at that control. The problem is that the mouse "whatever" events will not fire since the mouse is hjhack by other control. Anyway, I have the following code and I can check is the mouse over...
0
7886
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7809
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...
0
8312
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7920
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
8183
tracyyun
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...
1
5685
isladogs
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...
0
3809
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...
0
3835
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1147
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.