Forum Discussion
Ashishp_1
13 years agoContributor
Dear Julia,
Thanks for your reply.
Actually, I want to check mouse cursor image.Means I want to check whether it is arrow, hand,etc.
The application that I am testing has different cursor images that are not exist in XP.Please check image attached.
As images not exist in XP, then link that you suggested ...http://smartbear.com/support/viewarticle/17632/ is not helpful.
I can take image of cursor, as you suggested but it comes with background. But any mis-matched background will make my code fail.
I tried with code of ...
var pid = Win32API.GetWindowThreadProcessId(TargetWindow.Handle, null);
var tid = Win32API.GetCurrentThreadId();
Win32API.AttachThreadInput(pid, tid, true);
var crsr = Win32API.GetCursor();
But each time crsr gives different value, for different machines with same XP.
Do you have any strong code or any suggestion ?
Waiting for your reply...
Thanks for your reply.
Actually, I want to check mouse cursor image.Means I want to check whether it is arrow, hand,etc.
The application that I am testing has different cursor images that are not exist in XP.Please check image attached.
As images not exist in XP, then link that you suggested ...http://smartbear.com/support/viewarticle/17632/ is not helpful.
I can take image of cursor, as you suggested but it comes with background. But any mis-matched background will make my code fail.
I tried with code of ...
var pid = Win32API.GetWindowThreadProcessId(TargetWindow.Handle, null);
var tid = Win32API.GetCurrentThreadId();
Win32API.AttachThreadInput(pid, tid, true);
var crsr = Win32API.GetCursor();
But each time crsr gives different value, for different machines with same XP.
Do you have any strong code or any suggestion ?
Waiting for your reply...
Related Content
- 10 years agoshrey1686
- 9 years agotwhitehouse
Recent Discussions
- 3 hours agoMW_Didata