473,385 Members | 1,645 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

WM_SETCURSOR and WM_MOUSEMOVE

50
Hello guys,

I'd like to know the difference between these two when mouse move over a window, when generate them and their relationship. Thank you!
Oct 26 '07 #1
1 8579
Banfa
9,065 Expert Mod 8TB
I am not too familiar with WM_SETCURSOR however it appears to be a message that is sent to parent windows when child windows do not capture the mouse movement (i.e. do not handle WM_MOUSEMOVE) so that the parent can, if required, set the cursor to the correct shape.

I am very familiar with WM_MOUSEMOVE this is the message you should intercept if you want your program/window to accept positional information about the location of the cursor on the windows client area.
Oct 26 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

5
by: Neviton | last post by:
I just receive the WM_MOUSEMOVE message when mouse is over form. When mouse is over a button the WM_MOUSEMOVE message is not sent! If the control is disable(WS_DISABLED) then i can detect mouse...
4
by: Sean | last post by:
Hi, I would like to know where I can get the value for Windows API Notification? For example: private const int WM_ACTIVATEAPP = 0x01C; private const int WM_NCACTIVATE = 0x086; I couldn't...
3
by: Jason | last post by:
I'm trying to implement some pretty basic behavior in c#/.net 1.1 Forms but can't seem to find all the requisite pieces. When a user clicks on the background of the form, I want the app to start...
3
by: Richard | last post by:
I have a requirement to put a GDI style circle or rectangle border around the selected row of a datagrid/ It will overlap into the row above and below the selected row. Doing this in a the OnPaint...
2
by: Ryan Ross | last post by:
Hello, I need some help with the SendMessage method. I've imported it into C# with the following statement: public static extern IntPtr SendMessage(IntPtr hWnd, int Msg, long wparam, int...
8
by: Bob | last post by:
This is a bug that affects all controls, not just the ones that it's screwing up in my app. I really need a workaround. Anyone? Please? Before I regret letting my MSDN subscription run out and pay...
7
by: JohnR | last post by:
Couldn't find it in MSDN. Does anybody have a listing of the message constants that would be received in my application.addmessagefilter routine in VB.net? They are referred to all over MSDN but...
1
by: mtczx232 | last post by:
LParam (intPtr) in WM_MOUSEMOVE contain the x,y of mouse position. how retrieves this value in vb.net code?
7
by: newscorrespondent | last post by:
I would like to display a form to get some cleanup instructions when an app ends. From the Application.exit method my dialog flashes and leaves. Is there any way to capture the event before it is...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

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.