Unit 'intuition' Package
[Overview][Constants][Types][Procedures and functions][Variables][Index] [#morphunits]

SA_Top

Tag start for OpenScreenTagList() eqivalent to TNewWindow.TopEdge

Declaration

Source position: intuition.pas line 1426

const SA_Top = SA_Dummy + 2;

Description

Initial screen position (top edge). Data is a LongInt, signed value. Offsets are relative to the text overscan rectangle.

If SA_Top is not specified and a TNewWindow structure is not passed in the OpenScreenTagList() call and SA_Width is not specified or specified as STDSCREENHEIGHT, then the top edge of the screen will default to the top edge of the actual display clip of the screen. If the other conditions are met but some explicit SA_Height is specified, then the top edge defaults to zero (text overscan rectangle top edge).

When opening a full sized overscan screen, SA_Top should be set to the MinY value of the display clip. This may be taken from the defaults, as explained above, or explicitly set by the application.

If your screen is larger than your display clip, you may wish to set the SA_Top to a value less than your display clip MinY in order to center a large screen on a smaller display.


Documentation generated on: 2021-07-30