次の方法で共有


UseMouseForInput Property

UseMouseForInput Property

Gets or sets a value that indicates whether the mouse can be used as an input device.

Declaration

[C++]

[propput] HRESULT put_UseMouseForInput ([in] VARIANT_BOOL
    UseMouseForInput);
[propget] HRESULT get_UseMouseForInput ([out, retval] VARIANT_BOOL*
    UseMouseForInput);

[Microsoft® Visual Basic® 6.0]

Public Property Get UseMouseForInput() As Boolean
Public Property Let UseMouseForInput(ByVal canUseMouseForInput As Boolean)

Property Value

VARIANT_BOOL A Boolean value that indicates whether the mouse can be used as an input device.

Value Description
True The mouse can be used as an input device.
False Default. The mouse cannot be used as an input device.

This property is read/write.

Remarks

This property should only be changed if the Status property returns IES_Idle.

Applies To