docs

Home All functions Categories

vuCloseDisable(hWindow)

vuCloseDisable(LONG), Signed

Description

Disables the ability to close a window by removing the Close (X) button, given the window handle.

Parameters

Parameter Data Type Description
hWindow LONG Handle of the window to disable Close on

Returns

1 (True) on success, 0 (False) on failure.

Example

WinName = 'vuDemo3.exe'
hWindow = vuWindowHandle(WinName)

vuCloseDisable(hWindow)

Notes

Home All functions Categories