ABL element
|
Behavior with .NET forms
|
ACTIVE-WINDOW system handle
|
Returns a read-only handle to the last window to receive an ENTRY event (focus). If a form (not a window) is the last to receive focus, this handle returns the Unknown value (?). To obtain an indication of the last form or window to receive focus, use the ACTIVE-FORM system reference. For more information, see Common focus detection for forms and windows.
|
ALWAYS-ON-TOP handle attribute
|
Specifies that the window is a topmost window that remains on top of all non-topmost windows (ABL or non-ABL) on the Windows desktop. .NET provides the TopMost property to specify the same behavior for a given form. Windows maintains separate categories for topmost and non-topmost windows across applications. So, you can specify both ABL topmost windows using the ALWAYS-ON-TOP attribute and .NET topmost forms using the TopMost property. All these topmost windows and forms remain on top of all non-topmost windows and forms, and users can move any topmost window or form to the foreground.
|
CURRENT-WINDOW system handle
|
Returns the handle to the window to which an ABL frame is parented when there is no parent specified for the frame. ABL frames cannot be parented to .NET forms. So, any attempt to assign the handle of a form's shadow window (specified by the ProWinHandle property) to CURRENT-WINDOW raises a run-time error.
|
DEFAULT-WINDOW system handle
|
Returns the handle to the default window created by the AVM at startup. This window displays all ABL frames until the CURRENT-WINDOW system handle is set to the handle of another [dynamic] window or unless a displayed frame is explicitly parented to another window. Its message area also displays messages that have no other available display destination. ABL frames cannot be parented to .NET forms. So, ABL ignores any attempt to assign the handle of a form's shadow window (specified by the ProWinHandle property) to DEFAULT-WINDOW, leaving its previous value unchanged.
|
LOAD-ICON( ) and LOAD-SMALL-ICON( ) handle methods
|
These methods allow you to load a large and small icon (respectively) to display for a window during common window operations, such as application switching and displaying on the taskbar. .NET provides the Icon property to specify a default icon for a form to display for these common window operations. You can maintain uniform icons across .NET forms and ABL windows in an application by using these methods to load the same large and small icon you are using to set the Icon property for .NET forms.
|
SHOW-IN-TASKBAR handle attribute
|
Specifies whether an icon for the window appears on the taskbar. .NET also provides a ShowInTaskbar property to specify the same behavior for forms. Windows has a setting to group multiple window icons under one icon from the same application on the taskbar. ABL windows do not conform to this setting and always display individually on the taskbar. However, .NET form icons can and do group on the taskbar according to this setting, even for forms created in an ABL session with ABL windows.
|
TOP-ONLY handle attribute
|
Indicates whether another window in the ABL session can overlay a specified window. Setting this attribute to TRUE allows the specified window to overlay all other .NET forms and non-TOP-ONLY ABL windows in the session. .NET does not support a similar property to allow a form to overlay all other forms and windows in a session.
|