Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
virtualCSizeScaleWindowExt(intxNum**,intxDenom,intyNum,int**
yDenom**);**
Return Value
The previous window extents (in logical units) as a CSize object.
Parameters
xNum
Specifies the amount by which to multiply the current x-extent.
xDenom
Specifies the amount by which to divide the result of multiplying the current x-extent by the value of the xNum parameter.
yNum
Specifies the amount by which to multiply the current y-extent.
yDenom
Specifies the amount by which to divide the result of multiplying the current y-extent by the value of the yNum parameter.
Remarks
Modifies the window extents relative to the current values. The formulas are written as follows:
xNewWE = ( xOldWE * xNum ) / xDenom
yNewWE = ( yOldWE * yNum ) / yDenom
The new window extents are calculated by multiplying the current extents by the given numerator and then dividing by the given denominator.
CDC Overview | Class Members | Hierarchy Chart
See Also CDC::GetWindowExt, CSize