IAPI::IsWindowVisible

property IsWindowVisible.

Tests whether a window is visible on the user desktop.

 

HRESULT IsWindowVisible(
  long hWnd,
  long *pVal
);

Parameters

hWnd

[in] .   Handle of the target window.

         -1 for console window (DOS)

pVal

[out, retval] The returned value 0 (hidden) or 1 (visible)

Return Values

S_OK

The operation was successfull.

E_POINTER

A NULL pointer was supplied as an argument.

E_UNEXPECTED

An unexpected error occoured.

See Also

IAPI