FUNCTIONS GT

GTI_SYSMENUADD

Add an item to the system menu of the window

Syntax

Signature
GtInfo( GTI_SYSMENUADD, nKey, [cText] ) --> lDone

Arguments

GTI_SYSMENUADD

The selector, from gtinfo.ch.

nKey

The key code that Inkey() returns when the item is chosen.

cText

The text of the item. Without cText the item of nKey is removed.

Return value

.T. when an item was added, changed or removed.

Description

The system menu opens from the icon in the title bar. A second call with the same nKey changes the text of its item.

Notes

Supported only by GTWVT. Other drivers return NIL.

Output

See also