Top Method Summary
Options Name Purpose
CloseFromCode () Closes the Form after unsubscribing it's own FormClosing event handle
EmbedWindow (handle) Creates a new instance of the Progress.Windows.WindowContainer instance and embeds the given window widget in that instance - but does not parent the WindowContainer instance in the Form (THIS-OBJECT). This is delayed till later.
FinalizeEmbedding () Finalize the embedding of an ABL window widget by parenting the Progress.Windows.WindowContainer instance in the Form (THIS-OBJECT). Sets the Form Text property and applies the window-resized event to the window widget.
FormClosingHandler (Object, FormClosingEventArgs) Event Handler for the FormClosing event of the Form. When a window is embedded, the FormClosing event will be cancelled and the WINDOW-CLOSE event to the window will be applied.
MoveHideButtonPanel (integer) Moves the UltraPanel used to hide the section of the embedded window truncated from the bottom (WindowContainerHeightOffset) during a resizing operation that makes the Form larger in height
OnActivated (EventArgs) Raises the Activated event
OnFormClosed (FormClosedEventArgs) Raises the FormClosed event
OnSizeChanged (EventArgs) Don't forward sizing events when the window is minimized
RefreshButtons () Refreshes the state of all overlay buttons in the IEmbeddedWindowForm
RepositionWindowContainer () Adjusts the position of the WindowContainer based on the Col- and Row-Offset
TimerTickHandler (Object, EventArgs) Event Handler for the Tick Event of the Timer Component
ToolClickHandler (Object, ToolClickEventArgs) Event Handler for the ToolClick Event of the UltraToolbarsManager
ToolClickTimerTickHandler (Object, EventArgs) Event handler for the Tick event of the ToolClickTimer component
ToolDropDownHandler (Object, BeforeToolDropdownEventArgs) Handles the BeforeToolDropDown event of the UltraToolbarsManager
UpdateWindowAttributes () Update Form properties with Properties from the WindowWidget

Top Constructor Summary
Options Name Purpose
EmbeddedWindowForm () Returns a new instance of an EmbeddedWindowForm.

Top Property Summary
Options Name Purpose
System.Windows.Forms.Control ClientArea
INTEGER WindowContainerColOffset
INTEGER WindowContainerHeightOffset
INTEGER WindowContainerRowOffset


Method Detail
Top

CloseFromCode ()

Purpose: Closes the Form after unsubscribing it's own FormClosing event handle
Notes: Invoked from src/winkit/closewindow.i after the ABL window WINDOW-CLOSE
event handler has not cancelled the closing of the WINDOW and Form

Top

EmbedWindow (handle)

Purpose: Creates a new instance of the Progress.Windows.WindowContainer
instance and embeds the given window widget in that instance -
but does not parent the WindowContainer instance in the Form
(THIS-OBJECT). This is delayed till later.
Notes: Required due to incompatibility issues with the Infragistics
UltraTabbedMdiManager.

Parameters:
phWindow HANDLE
The handle of the Window to embed
Top

FinalizeEmbedding ()

Purpose: Finalize the embedding of an ABL window widget by parenting
the Progress.Windows.WindowContainer instance in the Form
(THIS-OBJECT). Sets the Form Text property and applies the
window-resized event to the window widget.
Notes: Required due to incompatibility issues with the Infragistics
UltraTabbedMdiManager.

Top

FormClosingHandler (Object, FormClosingEventArgs)

Purpose: Event Handler for the FormClosing event of the Form. When a window
is embedded, the FormClosing event will be cancelled and the
WINDOW-CLOSE event to the window will be applied.
Notes: The window is responsible for deleting the Form.
{src/winkit/closewindow.i} can be used in the ON CLOSE OF THIS-
PROCEDURE trigger for that purpose

Parameters:
sender System.Object
The reference to the object that raised the event
e System.Windows.Forms.FormClosingEventArgs
The FormClosingEventArgs with the data for this event
Top

MoveHideButtonPanel (integer)

Purpose: Moves the UltraPanel used to hide the section of the embedded window
truncated from the bottom (WindowContainerHeightOffset) during a
resizing operation that makes the Form larger in height
Notes: Invoke this method from the WINDOW-RESIZED trigger of the ABL
window

Parameters:
piTop INTEGER
The distance in pixels from the Top of the screen
Top

OnActivated (EventArgs)

Purpose: Raises the Activated event
Notes: Delegate the Activated Event to the Embedded Window (ENTRY)

Parameters:
e System.EventArgs
The System.EventArgs with the data for this event
Top

OnFormClosed (FormClosedEventArgs)

Purpose: Raises the FormClosed event
Notes:

Parameters:
e System.Windows.Forms.FormClosedEventArgs
The FormClosedEventArgs with the data for this event
Top

OnSizeChanged (EventArgs)

Purpose: Don't forward sizing events when the window is minimized
Notes:

Parameters:
e System.EventArgs
The System.EventArgs with the data for this event
Top

RefreshButtons ()

Purpose: Refreshes the state of all overlay buttons in the IEmbeddedWindowForm
Notes:

Top

RepositionWindowContainer ()

Purpose: Adjusts the position of the WindowContainer based on the Col- and
Row-Offset
Notes:

Top

TimerTickHandler (Object, EventArgs)

Purpose: Event Handler for the Tick Event of the Timer Component
Notes:

Parameters:
sender System.Object
The event sender
e System.EventArgs
The .NET default System.EventArgs for this event
Top

ToolClickHandler (Object, ToolClickEventArgs)

Purpose: Event Handler for the ToolClick Event of the UltraToolbarsManager
Notes: Applies CHOOSE to the base menu item

Parameters:
sender System.Object
The reference to the object that raised the event
e Infragistics.Win.UltraWinToolbars.ToolClickEventArgs
The ToolClickEventArgs with the data for this event
Top

ToolClickTimerTickHandler (Object, EventArgs)

Purpose: Event handler for the Tick event of the ToolClickTimer component
Notes:

Parameters:
sender System.Object
The reference to the object that raised the event
e System.EventArgs
The System.EventArgs with the data for this event
Top

ToolDropDownHandler (Object, BeforeToolDropdownEventArgs)

Purpose: Handles the BeforeToolDropDown event of the UltraToolbarsManager
Notes: Delegates action to the MENU-DROP Event of the Progress SUB-MENU widget

Parameters:
sender System.Object
The reference to the object that raised the event
e Infragistics.Win.UltraWinToolbars.BeforeToolDropdownEventArgs
The BeforeToolDropdownEventArgs with the data for this event
Top

UpdateWindowAttributes ()

Purpose: Update Form properties with Properties from the WindowWidget
Notes:



Constructor Detail
Top

EmbeddedWindowForm ()

Purpose: Returns a new instance of an EmbeddedWindowForm.
Notes:



Property Detail
Top

System.Windows.Forms.Control ClientArea


Returns System.Windows.Forms.Control
Top

INTEGER WindowContainerColOffset


Returns INTEGER
Top

INTEGER WindowContainerHeightOffset


Returns INTEGER
Top

INTEGER WindowContainerRowOffset


Returns INTEGER


©2006-2026 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       13.04.2026 10:31:17