ConWindowLeftLoc function

 

Usage:

PixelsX& = ConWindowLeftLoc

 

Legacy Syntax:

n/a

 

Pseudo-object Syntax:

PixelsX& = CON.LOC.X

 

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

 

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

 

Conversion:

 

#IF %DEF(%PB_CC32)

  PixelsX& = CON.LOC.X

#ELSE

  PixelsX& = ConWindowLeftLoc

#ENDIF

 

See Also: ConGetWindowLoc, ConGetWindowTopLoc