moduleShow()

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

Synopsis

int moduleShow(string moduleName);

Parameters

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

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 shown. In case of an embedded module, it will not be shown, but instead its container module window will be.

This function can also be used for dockmodules.

Example

The main (top level) window is shown.

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

Availability

UI