Device. Synchronize Method
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Forces the mouse to resynchronize.
public: void Synchronize();
[System.Security.SecurityCritical] public void Synchronize ();
public void Synchronize ();
[<System.Security.SecurityCritical>] member this.Synchronize : unit -> unit
member this.Synchronize : unit -> unit
Public Sub Synchronize ()
The MouseDevice monitors layout changes and calls Synchronize. There are cases in which the mouse input system must be forced to update for it to respond to changes. For example, you must resynchronize the mouse on a timer.