Namespace: Consultingwerk.WindowIntegrationKit.Forms
Class 
WinKitForms Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object

File:WinKitForms
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Tue Aug 20 13:32:01 CEST 2013
Notes:Avoid the usage of certain static members in hybrid
classes on OpenEdge 11.2 and 11.3 due to OE defect OE00240707
http://knowledgebase.progress.com/articles/Article/000042229?popup=true



Top Method Summary
Options Name Purpose
+ Consultingwerk.WindowIntegrationKit.Forms.IEmbeddedWindowForm FromEmbeddedWindow (handle) Locates the IEmbeddedWindowForm instance that embeds the WINDOW
+ Consultingwerk.WindowIntegrationKit.Forms.IEmbeddedWindowForm FromProcedureHandle (handle) Returns the EmbeddedWindowForm instance that belongs to the given Procedure Handle
+ HANDLE MenuBarOfWindow (handle) Returns the Menu-bar of the given Window regardless if the window is embedded or not.

Top Property Summary
Options Name Purpose
+ LOGICAL DefaultMakeMdiChild Defines the default for the MakeMdiChild property
+ INTEGER DefaultWindowContainerColOffset Gets and Sets the default Col offset used when positioning the WindowContainer control in this .NET Form.
+ INTEGER DefaultWindowContainerRowOffset Gets and Sets the default Row offset used when positioning the WindowContainer control in this .NET Form.
+ INTEGER TabFolderBGColor Controls the BGCOLOR of the ABL Window and TabFolder created for the Tab Pages


Method Detail
Top

PUBLIC Consultingwerk.WindowIntegrationKit.Forms.IEmbeddedWindowForm FromEmbeddedWindow (handle)

Purpose: Locates the IEmbeddedWindowForm instance that embeds the WINDOW
Notes:

Parameters:
phWindow HANDLE
The handle of the WINDOW widget
Returns Consultingwerk.WindowIntegrationKit.Forms.IEmbeddedWindowForm
The reference to the IEmbeddedWindowForm instance
Top

PUBLIC Consultingwerk.WindowIntegrationKit.Forms.IEmbeddedWindowForm FromProcedureHandle (handle)

Purpose: Returns the EmbeddedWindowForm instance that belongs to the given
Procedure Handle
Notes:

Parameters:
phProcedure HANDLE
The procedure handle to search for
Returns Consultingwerk.WindowIntegrationKit.Forms.IEmbeddedWindowForm
The IEmbeddedWindowForm instance that belongs to the Procedure handle
Top

PUBLIC HANDLE MenuBarOfWindow (handle)

Purpose: Returns the Menu-bar of the given Window regardless if the window
is embedded or not.
Notes: If the window is not embedded, the MENU-BAR property of the Window
will be returned. If it is embedded, the MENU-BAR property of the
IEmbeddedWindowForm will be returned.

Parameters:
phWindow HANDLE
The handle of hte WINDOW widget
Returns HANDLE
The handle of the MENU-BAR of the window


Property Detail
Top

PUBLIC LOGICAL DefaultMakeMdiChild

Purpose: Defines the default for the MakeMdiChild property
Notes:

Returns LOGICAL
Top

PUBLIC INTEGER DefaultWindowContainerColOffset

Purpose: Gets and Sets the default Col offset used when positioning the
WindowContainer control in this .NET Form.
Notes: Static property, sets default for NEW instances of this class

Returns INTEGER
Top

PUBLIC INTEGER DefaultWindowContainerRowOffset

Purpose: Gets and Sets the default Row offset used when positioning the
WindowContainer control in this .NET Form.
Notes: Static property, sets default for NEW instances of this class

Returns INTEGER
Top

PUBLIC INTEGER TabFolderBGColor

Purpose: Controls the BGCOLOR of the ABL Window and TabFolder created
for the Tab Pages
Notes:

Returns INTEGER


©2006-2016 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       26.08.2016 08:47:33