IN_EnableSystemMenuCommands

All Editions image\bltlrgsq_shg.gif  Related Functions  image\bltlrgsq_shg.gif  Example

The IN_EnableSystemMenuCommands function sets which System menu commands, such as Restore, Minimize, and Close, are enabled in a document window or in the Imagenation window.

Syntax

int IN_EnableSystemMenuCommands( docwinID, commands )

Parameters

Values

Meaning

IN_DOCWIN docwinID

0 active document window

docwinID specific document window

IN_SYSTEM_OBJECT 
Imagenation window

long commands

1 Restore

2 Move

4 Size

8 Minimize

16 Maximize

32 Close

(can be ORed)

Remarks

Even if the Close system menu command is disabled, Imagenation can still be closed with the File, Exit command. To disable File, Exit, see IN_SetMenuStatus.

Release information

Added to Imagenation for Windows in Release 4.10.

As of Release 5.1, also available in Imagenation for UNIX.

See also

Defining window menus