Unit 'agraphics' Package
[Overview][Constants][Types][Procedures and functions][Variables][Index] [#os4units]

GetVPModeID

Get the 32 bit DisplayID from a ViewPort.

Declaration

Source position: agraphics.pas line 2426

function GetVPModeID(

  const Vp: PViewPort

):LongWord;

Arguments

Vp

  

A pointer to a ViewPort structure.

Function result

A 32 bit DisplayInfoRecord identifier associated with this ViewPort, or INVALID_ID.

Description

Returns the normal display modeID, if one is currently associated with this ViewPort. Test the return value of this function against INVALID_ID, not nil.

See also

ModeNotAvailable

  

Check to see if a DisplayID isn't available.


Documentation generated on: 2021-07-30