docs

Home All functions Categories

vuTransparent(hWindow, tValue)

vuTransparent(LONG,LONG), Signed

Description

Sets the transparency level of a window, given its handle. Transparency can range from completely invisible (0) to fully opaque (255).

Parameters

Parameter Data Type Description
hWindow LONG Handle of the window to apply transparency to.
tValue LONG Transparency value: 0 = Invisible, 255 = Solid (opaque).

Returns

A LONG value:

Example

hWindow = WINDOW{PROP:Handle}  ! Get the handle of the current window
tValue  = 128                  ! Set transparency halfway

IF vuTransparent(hWindow, tValue)
  MESSAGE('Window transparency set to translucent.')
ELSE
  MESSAGE('Failed to set window transparency.')
END

Notes

Home All functions Categories