harmony 鸿蒙Mouse Pointer Error Codes

  • 2025-06-12
  • 浏览 (6)

Mouse Pointer Error Codes

NOTE

This topic describes only module-specific error codes. For details about universal error codes, see Universal Error Codes.

26500001 Invalid Window ID

Error Message

Invalid windowId.

Description

This error code is reported if the window ID is invalid.

Possible Causes

The window ID does not belong to the current process.

Solution

Pass in the window ID of the current process. You can obtain the attributes of the current window by calling getWindowProperties(). The window attributes contain the window ID.

你可能感兴趣的鸿蒙文章

harmony 鸿蒙Input Kit

harmony 鸿蒙Input_DeviceListener

harmony 鸿蒙Input_InterceptorEventCallback

harmony 鸿蒙Input_AxisEvent

harmony 鸿蒙Input_DeviceInfo

harmony 鸿蒙Input_DeviceListener

harmony 鸿蒙Input_Hotkey

harmony 鸿蒙Input_InterceptorEventCallback

harmony 鸿蒙Input_InterceptorOptions

harmony 鸿蒙Input_KeyEvent

0  赞