DisplayGetSize

Top  Previous  Next

Message

 

DisplayGetSize <devicename>

 

Originator

 

Client

 

Response

 

Error: no such display device – <devicename>

Info: Device <devicename> size: x=<xsize> y=<ysize>

SyntaxError: invalid parameters to DisplayGetSize

SyntaxError: insufficient parameters to DisplayGetSize

 

Response (immediate socket)

 

Size <xsize> <ysize>

Failure

 

Details                

 

Retrieves the size of the client rectangle (the usable part of the display window).

 

Note that DisplayGetSize may return (x = -1, y = -1) immediately after creation of a 'virtual' window; see DisplayCreateDevice.

 

Revision history

 

Implemented by WhiskerServer version 2.3.

 

See also

 

Display devices
DisplayCreateDevice