Upravit

Sdílet prostřednictvím


EM_GETZOOM message

Gets the current zoom ratio for a multiline edit control or a rich edit control. The zoom ration is always between 1/64 and 64.

Parameters

wParam

Receives the numerator of the zoom ratio.

lParam

Receives the denominator of the zoom ratio.

Return value

The message returns TRUE if message is processed, which it will be if both wParam and lParam are not NULL.

Remarks

Edit: Supported in Windows 10 1809 and later. The edit control needs to have the ES_EX_ZOOMABLE extended style set, for this message to have an effect, see Edit Control Extended Styles. For information about the edit control, see Edit Controls.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Redistributable
Rich Edit 3.0
Header
Richedit.h/Commctrl.h

See also

EM_SETZOOM