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

File:AblWindowAnchoringManager
Purpose:Provides .NET like Anchoring for ABL Widgets in a Window
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Thu Jun 25 09:17:55 CEST 2015



Top Method Summary
Options Name Purpose
+ Consultingwerk.WindowIntegrationKit.AblWindowAnchoringManager FromWindow (handle) Returns the reference to the AblWindowAnchoringManager instance for the given Window
+ InitializeResizing () Initializes Resizing in for the Window by registering the original size of all Anchored Widgets
+ ResizeWindow (handle) Handles the resize event of the Window
+ SetWidgetAnchorStyles (handle, AnchorStyles) Sets Anchoring for an ABL Widget
+ SetWidgetAnchorStyles (handle, AnchorStyles, AnchorStyles) Sets Anchoring for an ABL Widget
+ SetWidgetAnchorStyles (handle, AnchorStyles, AnchorStyles, AnchorStyles) Sets Anchoring for an ABL Widget
+ SetWidgetAnchorStyles (handle, AnchorStyles, AnchorStyles, AnchorStyles, AnchorStyles) Sets Anchoring for an ABL Widget

Top Constructor Summary
Options Name Purpose
+ AblWindowAnchoringManager (handle) Constructor for the AblWindowAnchoringManager class

Top Property Summary
Options Name Purpose
+ INTEGER OriginalWindowHeightPixel Returns the orignal height of the ABL Window in pixels
+ INTEGER OriginalWindowWidthPixel Returns the original width of the ABL Window in pixels
+ HANDLE Window Returns the handle of the ABL window


Method Detail
Top

PUBLIC Consultingwerk.WindowIntegrationKit.AblWindowAnchoringManager FromWindow (handle)

Purpose: Returns the reference to the AblWindowAnchoringManager instance for
the given Window
Notes:

Parameters:
phWindow HANDLE
The Window to return the AblWindowAnchoringManager for
Returns Consultingwerk.WindowIntegrationKit.AblWindowAnchoringManager
The reference of the AblWindowAnchoringManager instance for the given window
Top

PUBLIC InitializeResizing ()

Purpose: Initializes Resizing in for the Window by registering the original
size of all Anchored Widgets
Notes:

Top

PUBLIC ResizeWindow (handle)

Purpose: Handles the resize event of the Window
Notes:

Parameters:
phFrame HANDLE
Top

PUBLIC SetWidgetAnchorStyles (handle, AnchorStyles)

Purpose: Sets Anchoring for an ABL Widget
Notes:

Parameters:
phWidget HANDLE
The widget handle
poAnchorStyles System.Windows.Forms.AnchorStyles
The combined AnchorStyles
Top

PUBLIC SetWidgetAnchorStyles (handle, AnchorStyles, AnchorStyles)

Purpose: Sets Anchoring for an ABL Widget
Notes:

Parameters:
phWidget HANDLE
The widget handle
poAnchorStyles1 System.Windows.Forms.AnchorStyles
The first AnchorStyles component
poAnchorStyles2 System.Windows.Forms.AnchorStyles
The second AnchorStyles component
Top

PUBLIC SetWidgetAnchorStyles (handle, AnchorStyles, AnchorStyles, AnchorStyles)

Purpose: Sets Anchoring for an ABL Widget
Notes:

Parameters:
phWidget HANDLE
The widget handle
poAnchorStyles1 System.Windows.Forms.AnchorStyles
The first AnchorStyles component
poAnchorStyles2 System.Windows.Forms.AnchorStyles
The second AnchorStyles component
poAnchorStyles3 System.Windows.Forms.AnchorStyles
The third AnchorStyles component
Top

PUBLIC SetWidgetAnchorStyles (handle, AnchorStyles, AnchorStyles, AnchorStyles, AnchorStyles)

Purpose: Sets Anchoring for an ABL Widget
Notes:

Parameters:
phWidget HANDLE
The widget handle
poAnchorStyles1 System.Windows.Forms.AnchorStyles
The first AnchorStyles component
poAnchorStyles2 System.Windows.Forms.AnchorStyles
The second AnchorStyles component
poAnchorStyles3 System.Windows.Forms.AnchorStyles
The third AnchorStyles component
poAnchorStyles4 System.Windows.Forms.AnchorStyles
The fourth AnchorStyles component


Constructor Detail
Top

PUBLIC AblWindowAnchoringManager (handle)

Purpose: Constructor for the AblWindowAnchoringManager class
Notes:

Parameters:
phWindow HANDLE
The handle of the ABL window widget


Property Detail
Top

PUBLIC INTEGER OriginalWindowHeightPixel

Purpose: Returns the orignal height of the ABL Window in pixels
Notes:

Returns INTEGER
Top

PUBLIC INTEGER OriginalWindowWidthPixel

Purpose: Returns the original width of the ABL Window in pixels
Notes:

Returns INTEGER
Top

PUBLIC HANDLE Window

Purpose: Returns the handle of the ABL window
Notes:

Returns HANDLE


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