IC8 Python API:RLPy RWin32ApiKit

From Reallusion Wiki!
Jump to: navigation, search

Description

This class provides Windows window utilities for finding windows, reading their state, and sending messages.

Constructor & Destructor

__init__ (self)

Initializes a new win32 API kit instance.

Member Functions

FindWindowByTitleName (strTitleName)

Finds window by title name.

Parameters

  • strTitleName

GetForegroundWindow ()

Returns the foreground window.

GetWindowName (pWnd)

Returns the window name.

Parameters

  • pWnd

GetWindowThreadProcessId (pWnd)

Returns the window thread process ID.

Parameters

  • pWnd

IsWindowVisible (pWnd)

Reports whether the specified window is visible.

Parameters

  • pWnd

SendMessageToWindow (pWnd, strMsg)

Sends a Windows message to the specified window handle.

Parameters

  • pWnd
  • strMsg

Properties

thisown

Indicates whether this SWIG proxy owns the underlying C++ object.