Re: why ChangeDisplaySettingsEx changes the position of mouse cursor

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



My guess is that, rather than spend the effort to do something smart, Windows moves the cursor to some known position (is it always the center of the screen, perhaps?) after someone calls this function, because otherwise it would have to figure out whether the pointer is currently on a visible part of some screen (which might be more complicated than it sounds with multimonitor support).

The mouse driver isn't doing it, if that's all you're asking...

sukhjeet786@xxxxxxxxx wrote:
Hi,
i have been allocated a bug to fix that whenever u load a driver it
changes the position of mouse corsor. We are making a software which
very much simir to Windows net meeting.I have investigated that it is
the function ChangeDisplaySettingsEx which is responsible for that.
whnever the call reaches this function, after its execution mouse
position changes. Similar is the scenario whilie unloading the driver.
It is the case of mirror driver.i.e whenever u share ur screen with
the other compuetr. i want to know that is it OK. or we need to do
something so that positon of the ,ouse do not changes.
Pls Reply Thanx in advance



--
Ray
.



Relevant Pages

  • Re: Cannot restore registry
    ... | feature, follow these steps: ... When the Windows Advanced Options menu appears, ... | Feature: Device Driver Roll Back ... | Feature: System Restore ...
    (microsoft.public.windowsxp.configuration_manage)
  • Re: Boot up problem... with a difference
    ... Safe mode boot is fine. ... Looked further into the last errors and noticed PXRD Driver. ... Event Type: Error ... Windows cannot unload your classes registry file - it is still in ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Cannot restore registry
    ... | feature, follow these steps: ... When the Windows Advanced Options menu appears, ... | Feature: Device Driver Roll Back ... | Feature: System Restore ...
    (microsoft.public.windowsxp.configuration_manage)
  • Re: Cannot restore registry
    ... feature, follow these steps: 1. ... When the Windows Advanced Options menu appears, ... Feature: Device Driver Roll Back ... Feature: System Restore ...
    (microsoft.public.windowsxp.configuration_manage)
  • RE: xp pro sharing printer
    ... How to troubleshoot network printing problems in Windows XP ... SMB-connected print server ... Incompatible print driver ... and then redirect the port to the network server. ...
    (microsoft.public.windowsxp.security_admin)