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

File:AblWindowResizingManager
Purpose:Provides Anchoring to ABL widgets relatively to an
Anchor Point. Widgets outside that anchor will be resized
or moved depending on which side of the Widget is kept
within the anchor or outside
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Fri Jun 22 13:33:01 CEST 2012



Top Method Summary
Options Name Purpose
+ InitializeFrameForResizing (handle, integer, integer) Registers a frame for resizing
+ ResizeWindow () Resizes the contents of the ABL window widgets to the current dimensions of the Window

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

Top Property Summary
Options Name Purpose
+ INTEGER CurrentWindowHeightPixels
+ INTEGER CurrentWindowWidthPixels
+ LOGICAL IgnoreNestedFrames
+ INTEGER IgnorePixelsFromTop
+ HANDLE WindowHandle


Method Detail
Top

PUBLIC InitializeFrameForResizing (handle, integer, integer)

Purpose: Registers a frame for resizing
Notes: Parameters include the location of an anchor point.
Widgets with the top left corner outside an rectangle defined by
this anchor and the top left corner of the window will be moved to
the right or bottom during resizing operations.

Parameters:
phFrame HANDLE
The frame handle to register for resiging
piAnchorX INTEGER
The X coordinate of the anchor
piAnchorY INTEGER
The Y coordinate of the anchor
Top

PUBLIC ResizeWindow ()

Purpose: Resizes the contents of the ABL window widgets to the current
dimensions of the Window
Notes: Typically invoked during the WINDOW-RESIZED trigger of the ABL
window widget



Constructor Detail
Top

PUBLIC AblWindowResizingManager (handle)

Purpose: Constructor for the AblWindowResizingManager class
Notes:

Parameters:
phWindow HANDLE
The handle of the Window widget to manage


Property Detail
Top

PUBLIC INTEGER CurrentWindowHeightPixels


Returns INTEGER
Top

PUBLIC INTEGER CurrentWindowWidthPixels


Returns INTEGER
Top

PUBLIC LOGICAL IgnoreNestedFrames


Returns LOGICAL
Top

PUBLIC INTEGER IgnorePixelsFromTop


Returns INTEGER
Top

PUBLIC HANDLE WindowHandle


Returns HANDLE


©2006-2019 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       08.08.2019 23:59:23