Try OpenEdge Now
skip to main content
ABL Reference
Widget Reference : SHADOW-WINDOW widget
 

SHADOW-WINDOW widget

(Windows only; GUI for .NET only)
A shadow window widget is a window associated with a .NET form that allows .NET forms and ABL windows to have parenting relationships to each other. A shadow window has no visible representation. It exists solely to support a .NET form and its relationship to ABL windows in an ABL session.
You cannot explicitly create or delete a shadow window. The ABL virtual machine (AVM) automatically creates an associated shadow window when you instantiate a .NET form from the OpenEdge .NET Progress.Windows.Form class, and it automatically deletes the associated shadow window when you delete an instance Progress.Windows.Form.

Attributes

Methods

The SHADOW-WINDOW widget does not support any methods.

Events

The SHADOW-WINDOW widget does not support any events.

Notes

*To obtain the shadow window handle of a .NET form, read the ProWinHandle property of the associated Progress.Windows.Form instance.
*To parent an ABL window to a .NET form, assign the shadow window handle of the .NET form to the PARENT attribute of the ABL window.
*To parent a .NET form to an ABL window, assign the handle of the ABL window to the PARENT attribute of the shadow window.
*Shadow windows have no NEXT-SIBLING attribute or PREV-SIBLING attribute and therefore do not appear on the session window chain.
*ABL does not create shadow windows for .NET forms that you instantiate from the System.Windows.Forms.Form class. Progress Software Corporation recommends that you always instantiate such forms from Progress.Windows.Form.

See also

Progress.Windows.Form class, ProWinHandle property, WINDOW widget