ConWindowTopLoc function

 

Usage:

PixelsY& = ConWindowTopLoc

 

Legacy Syntax:

n/a

 

Pseudo-object Syntax:

PixelsY& = CON.LOC.Y

 

Gets the y-coordinate of the location of the console window on the desktop.

 

The location of the top edge of window is returned in pixels, relative to the top edge of the desktop.

 

Conversion:

 

#IF %DEF(%PB_CC32)

  PixelsY& = CON.LOC.Y

#ELSE

  PixelsY& = ConWindowTopLoc

#ENDIF

 

See Also: ConGetWindowLoc, ConGetWindowLeftLoc