Export (0) Print
Expand All
Expand Minimize
1 out of 2 rated this helpful - Rate this topic

EM_SETZOOM message

Sets the zoom ratio of a rich edit control. The ratio must be a value between 1/64 and 64.

Parameters

wParam

Numerator of the zoom ratio.

lParam

Denominator of the zoom ratio. These parameters can have the following values.

ValueMeaning
Both 0

Turns off zooming by using the EM_SETZOOM message (zooming may still occur using TxGetExtent).

1/64 < (wParam / lParam) < 64

Zooms display by the zoom ratio numerator/denominator

 

Return value

If the new zoom setting is accepted, the return value is TRUE.

If the new zoom setting is not accepted, the return value is FALSE.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Redistributable

Rich Edit 3.0

Header

Richedit.h

See also

EM_GETZOOM

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.