แก้ไข

แชร์ผ่าน


MouseDevice.Synchronize Method

Definition

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 ()
Attributes

Remarks

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.

Applies to