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.
- PreviousFormClosedHandler (Object, FormClosedEventArgs) Event handler for the FormClosed event of the "previously" stored Form reference

Top Property Summary
Options Name Purpose
+ LOGICAL DefaultMakeMdiChild
+ INTEGER DefaultWindowContainerColOffset
+ INTEGER DefaultWindowContainerRowOffset
+ INTEGER TabFolderBGColor


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
Top

PRIVATE PreviousFormClosedHandler (Object, FormClosedEventArgs)

Purpose: Event handler for the FormClosed event of the "previously"
stored Form reference
Notes:

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


Property Detail
Top

PUBLIC LOGICAL DefaultMakeMdiChild


Returns LOGICAL
Top

PUBLIC INTEGER DefaultWindowContainerColOffset


Returns INTEGER
Top

PUBLIC INTEGER DefaultWindowContainerRowOffset


Returns INTEGER
Top

PUBLIC INTEGER TabFolderBGColor


Returns INTEGER


©2006-2023 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       08.12.2024 13:25:03