docs

Home All functions Categories

vuTransparentOthers(NameContains, Transparency)

vuTransparentOthers(*CSTRING,LONG), Signed

Description

Sets the layered window attribute on all other running windows whose primary title contains NameContains, and applies the specified transparency level.

Parameters

Parameter Data Type Description
NameContains CSTRING(256) Blank, partial, or full window title to search for.
Transparency LONG Transparency level from 0 to 255 (0 = invisible, 255 = opaque).

Returns

A LONG value containing the number of windows found that matched the criteria.

Example

NameContains = 'Notepad'
Transparency = 128

Count = vuTransparentOthers(NameContains, Transparency)
MESSAGE('Made ' & Count & ' Notepad windows semi-transparent.')

Notes

Home All functions Categories