CTerminalEmulator::SetSize Method  
 
BOOL SetSize(
  LPSIZE lpSize  
);
BOOL SetSize(
  INT nColumns,  
  INT nRows  
);

The SetSize sets the size of the virtual display.

Parameters

lpRect
Pointer to a SIZE structure which specifies the new size of the virtual display. The width should be specified in columns and the height should be specified in rows.
nColumns
The number of columns in the virtual display.
nRows
The number of rows in the virtual display.

Return Value

If the method succeeds, the return value is non-zero. If the method fails, it returns zero.

Requirements

Minimum Desktop Platform: Windows 7 (Service Pack 1)
Minimum Server Platform: Windows Server 2008 R2 (Service Pack 1)
Header File: cstools10.h
Import Library: csnvtv10.lib

See Also

GetDisplayInfo, GetRect