AddSysItems

Description:

baAddSysItems is a function which adds the system menu, minimise and maximise buttons to a window.

Platforms:

Windows

Usage:

baAddSysItems( 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 added.
If MinBox is true, the minimize button is added.
If MaxBox is true, the maximize button is added.

Returns:

void.

Examples:

Director:
baAddSysItems(baWinHandle() , false , true , false )

Authorware:
baAddSysItems(baWinHandle() , false , true , false )
 

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:

baRemoveSysItems