Namespace: Consultingwerk.WindowIntegrationKit.Forms
Class 
EmbeddedWindowBaseForm Copy to Clipboard
Parent classes:
Inherits: Consultingwerk.Forms.BaseForm
Implements: IBaseForm, ICustomTypeDescriptor, IHasDesignerVerbs, IHasSecurityKey
Inherited by: Consultingwerk.WindowIntegrationKit.Forms.EmbeddedWindowFormDesigner Consultingwerk.WindowIntegrationKit.Forms.EmbeddedWindowForm Consultingwerk.WindowIntegrationKit.Forms.EmbeddedWindowTabFolderFormDesigner Consultingwerk.WindowIntegrationKit.Forms.EmbeddedWindowTabFolderForm

File:EmbeddedWindowBaseForm
Purpose:BaseForm for Embedded Windows Forms
Description:This class implements the majority of properties
enforced by the IEmbeddedWindowForm Interface
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Fri Dec 18 23:26:29 CET 2009
Notes:This class is meant to be ABSTRACT - but the .NET
Visual Designer does not support to design classes with
abstract base classes
This class file can also be used as an include file. It
is a common requirement to workaround the non availbility
of multiple-inheritance. In this case, specify the
&AlterantiveBaseClass
&AlternativePackageName
&AlternativeClassName
as include file parameters. Note that when specifying one,
all need the others to be specified as well
/* Mike Fechner, Consultingwerk Ltd. 30.06.2014
Ability to override the Alternative ClassName/PackageName etc.
This is useful to create custom base classes for EmbeddedWindowForms that
should not be influenced by customizations of the EmbeddedWindowBaseForm,
e.g. the ProcedureEditorBaseForm



Top Method Summary
Options Name Purpose
CloseEmbeddedWindows (logical) Requests closing of the embedded window
EnableDisableOverlayControls () Toggles Sensitivity of OverlayControls based on the sensitive status of the corresponding Widget/Frame
HANDLE GetEmbeddedWindows () Returns an indeterminate array of the HANDLEs of the embedded Windows
OnActivated (EventArgs) Raises the Activated event
OnDeactivate (EventArgs) Raises the Deactivate event
OnFormClosed (FormClosedEventArgs) Raises the FormClosed event
UpdateControlsForEventHandler () Brings Controls/Widget's in sync for handling .NET Events
ViewHideOverlayControls () Toggles Visibily of OverlayControls based on the view/hide status of the corresponding Widget/Frame
Progress.Windows.WindowContainer WindowContainerOfWidget (handle) Returns the WindowContainer that contains the widget

Top Constructor Summary
Options Name Purpose
EmbeddedWindowBaseForm () Default constructor

Top Property Summary
Options Name Purpose
WIDGET-HANDLE EmbeddedWindow
LOGICAL Finalized
LOGICAL FocusEmbeddedWindowOnActivated
CHARACTER FrameHandles
LOGICAL MakeMdiChild
WIDGET-HANDLE MENU-BAR
LOGICAL MenuBarAsToolbar
LOGICAL MenuItemsAsToolbar
DECIMAL MinHeightChars
DECIMAL MinWidthChars
CHARACTER OriginalWindowTitle
System.Collections.Generic.Dictionary <System.Windows.Forms.Control> OverlayControls
HANDLE PreviousFocus
HANDLE ProcedureHandle
LOGICAL ShowAsDialog
Infragistics.Win.UltraWinToolbars.UltraToolbarsManager ToolbarsManager
System.Collections.Generic.List <WindowContainer> WindowContainers


Method Detail
Top

CloseEmbeddedWindows (logical)

Purpose: Requests closing of the embedded window
Notes: Returns TRUE when window closed, otherwise FALSE

Parameters:
plOk LOGICAL
Logical value indicating if the windows were closed
Top

EnableDisableOverlayControls ()

Purpose: Toggles Sensitivity of OverlayControls based on the sensitive status
of the corresponding Widget/Frame
Notes:

Top

HANDLE GetEmbeddedWindows ()

Purpose: Returns an indeterminate array of the HANDLEs of the embedded Windows
Notes: Returns a size 1 array with the EmbeddedWindow HANDLE

Returns HANDLE
The array with the window HANDLE
Top

OnActivated (EventArgs)

Purpose: Raises the Activated event
Notes: Optionally puts focus into the EmbeddedWindow

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

OnDeactivate (EventArgs)

Purpose: Raises the Deactivate event
Notes:

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

UpdateControlsForEventHandler ()

Purpose: Brings Controls/Widget's in sync for handling .NET Events
Notes: Used for instance with the ToolClick event and updatable browsers

Top

ViewHideOverlayControls ()

Purpose: Toggles Visibily of OverlayControls based on the view/hide status
of the corresponding Widget/Frame
Notes:

Top

Progress.Windows.WindowContainer WindowContainerOfWidget (handle)

Purpose: Returns the WindowContainer that contains the widget
Notes:

Parameters:
phWidget HANDLE
The handle of the WINDOW widget to locate
Returns Progress.Windows.WindowContainer
The reference to the WindowContainer that contains the WINDOW


Constructor Detail
Top

EmbeddedWindowBaseForm ()

Purpose: Default constructor
Notes:



Property Detail
Top

WIDGET-HANDLE EmbeddedWindow


Returns WIDGET-HANDLE
Top

LOGICAL Finalized


Returns LOGICAL
Top

LOGICAL FocusEmbeddedWindowOnActivated


Returns LOGICAL
Top

CHARACTER FrameHandles


Returns CHARACTER
Top

LOGICAL MakeMdiChild


Returns LOGICAL
Top

WIDGET-HANDLE MENU-BAR


Returns WIDGET-HANDLE
Top

LOGICAL MenuBarAsToolbar


Returns LOGICAL
Top

LOGICAL MenuItemsAsToolbar


Returns LOGICAL
Top

DECIMAL MinHeightChars


Returns DECIMAL
Top

DECIMAL MinWidthChars


Returns DECIMAL
Top

CHARACTER OriginalWindowTitle


Returns CHARACTER
Top

System.Collections.Generic.Dictionary <System.Windows.Forms.Control> OverlayControls


Returns System.Collections.Generic.Dictionary <System.Windows.Forms.Control>
Top

HANDLE PreviousFocus


Returns HANDLE
Top

HANDLE ProcedureHandle


Returns HANDLE
Top

LOGICAL ShowAsDialog


Returns LOGICAL
Top

Infragistics.Win.UltraWinToolbars.UltraToolbarsManager ToolbarsManager


Returns Infragistics.Win.UltraWinToolbars.UltraToolbarsManager
Top

System.Collections.Generic.List <WindowContainer> WindowContainers


Returns System.Collections.Generic.List <WindowContainer>


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