ShowInfo

Category: Objects / Menu
Since engine version: 1.0 OC

Description

Displays the description text of an object in a popup window (a menu window).

Syntax

bool ShowInfo();

Remark

The information window's background will be the definition image of the obect.

Example

func ControlSpecial()
  {
	if(!Contents()) return;
  Contents()->ShowInfo();
  }
A feature for a special clonk: pressing a (to be defined) 'special' key will display the description of the first inventory item in a popup window.
See also: AddMenuItem, CloseMenu, CreateMenu, GetDesc, SetCommand
Sven2, 2002-08