RemoveSysItems

Description:

baRemoveSysItems is a function which removes the system menu, minimise and maximise buttons from a window.

Platforms:

Windows

Usage:

baRemoveSysItems( WindowHandle, SystemMenu, MinBox, MaxBox )

Arguments:

Integer, integer, integer, integer.
WindowHandle is the handle of the window to change.
If SystemMenu is true, the system menu is removed.
If MinBox is true, the minimize button is removed.
If MaxBox is true, the maximize button is removed.

Returns:

Void.

Examples:

Director:
baRemoveSysItems(1356 , true , false , false ) -- remove the system menu from window 1356

Authorware:
baRemoveSysItems(1356 , true , false , false ) -- remove the system menu from window 1356
 

Notes:

Use this function with care. Some windows do not react kindly to having their window style changed. Some windows will ignore this call.

This function is limited in 32 bit Windows - only the Director/Authorware window can be changed, and you can only have all the items or none of the items.
 

See also:

baAddSysItems