moduleHide()

The given module is used as a initial point to search for the top level window that is then hidden. In case of an embedded module, it will not be hidden, but instead its container module window will be.

Synopsis

int moduleHide(string moduleName);

Parameters

Parameter Description
moduleName Initial point to search for the top level window that is then hidden.

Return Value

The function returns 0 in normal operation or in the event of errors -1.

Description

The given module is used as a initial point to search for the top level window that is then hidden. In case of an embedded module, it will not be hidden, but instead its container module window will be.

This function can also be used for dockmodules.

Example

The main (top level) window is hidden.

main()
{
  int i;
  i = moduleHide(myModuleName());
}

Availability

UI