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

QueryOverscan

Inquire about a standard overscan region.

Declaration

Source position: intuition.pas line 3537

function QueryOverscan(

  DisplayID: LongWord;

  Rect: PRectangle;

  OScanType: LongInt

):LongInt;

Arguments

DisplayID

  

ID to be queried

Rect

  

Pointer to struct Rectangle to store result

OScanType

  

Overscan type OSCAN_*

Function result

0 (False) if the MonitorSpec your NewScreen requests does not exist. Non-zero (True) if it does.

Description

This function fills in a rectangle with one of the system overscan dimensions, scaled appropriately for the mode of the DisplayID it is passed.

System overscan values for OScanType:

OSCAN_TEXT:
completely visible, by user preference. Used for Workbench screen and screen dimensions STDSCREENWIDTH and STDSCREENHEIGHT. Left/Top is always 0,0.
OSCAN_STANDARD:
just beyond visible bounds of monitor, by user preference. Left/Top may be negative.
OSCAN_MAX:
The largest region we can display, and display any smaller region.
OSCAN_VIDEO:
The absolute largest region that the graphics.library can display. This region must be used as-is.

See also

OpenScreen

  

Open an Intuition screen


Documentation generated on: 2021-07-30