ConGetWindowSize command

 

Usage:

ConGetWindowSize PixelsX&, PixelsY&

 

Legacy Syntax:

CONSOLE GET SIZE TO PixelsX&, PixelsY&

 

Pseudo-object Syntax:

CON.SIZE TO PixelsX&, PixelsY&

 

Gets the size of the console window, in pixels.

 

The returned size includes the non-client area of the borders and title bar.

 

Conversion:

 

#IF %DEF(%PB_CC32)

  CONSOLE GET SIZE TO PixelsX&, PixelsY&

#ELSE

  ConGetWindowSize PixelsX&, PixelsY&

#ENDIF

 

CON.SIZE or CONSOLE.SIZE may be substituted for CONSOLE GET SIZE in programs written for PB/CC 6.

 

See Also: ConSetWindowLoc, ConGetWindowLoc