ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

DonationCoder.com Software > Coding Snacks

Display program and / or command that triggred mouse Wait cursor?

<< < (2/2)

wraith808:
FWIW, I'm not sure it's even possible to determine which application causes a mouse cursor to change to the hourglass.  I don't think there are any such Windows messages but please correct me if I'm wrong.
-skwire (November 14, 2017, 10:44 PM)
--- End quote ---

You could determine when the cursor changes using a getcursorinfo and use that information to cut down the applications to a list of those running (a terrible idea, IMO).  But as far as what specific application changed the cursor- I don't think so.

skrommel:
Use Microsoft Spy++. :)

Display program and / or command that triggred mouse Wait cursor?

wraith808:
That would only work if the window that's doing it is known, wouldn't it?  Or is there some other functionality that I just don't know that's there?

Oh, and the minimal instructions on using it can be found at https://msdn.microsoft.com/en-us/library/aa242713(v=vs.60).aspx

skrommel:
You can watch all WM_SETCURSOR messages, take a look at the screenshot, @wraith808. :)

IainB:
@skrommel:
Use Microsoft Spy++.
-skrommel (November 18, 2017, 08:28 AM)
--- End quote ---
Oh, that's handy. Thanks.    :Thmbsup:

Navigation

[0] Message Index

[*] Previous page

Go to full version