moduleRestore()

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

Synopsis

int moduleRestore(string moduleName);

Parameters

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

Return value

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

Description

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

The main (top level) window is restored.

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

Availability

UI