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.
Value Meaning - 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 |
|
See also
Send comments about this topic to Microsoft
Build date: 10/27/2012