DM_SHOWITEM

Far Manager

DM_SHOWITEM

The DM_SHOWITEM message is sent to the dialog manager to show or hide a dialog item.

Param1

The ID of the dialog item to be shown or hidden.

Param2

One of the following values:
  • -1 - get the state of the item
  • 0 - hide the item
  • 1 - show the item

Return

Previous state of the dialog item

Controls

ControlDescription
All All dialog items

Remarks

  1. Dialog item is force redrawn if it is visible and Param2=1.
  2. Dialog item is not redrawn if Param2=-1.

Example

See also: