CEdit.GetZoommethod
Gets the current zoom ratio for a multiline edit control. The zoom ration is always between 1/64 and 64.
Syntax
FUNCTION CEdit.GetZoom (BYVAL hEdit AS HWND, BYVAL pzNum AS DWORD PTR, BYVAL pzDen AS DWORD PTR) AS BOOLEAN
Parameters
| Name | Description | |
|---|---|---|
hEdit | The handle of the edit control. | |
pzNum | Receives the numerator of the zoom ratio. | |
pzDen | Receives the denominator of the zoom ratio. |
Return value
The message returns TRUE if message is processed, which it will be if both pzNum and pzDen are not NULL.
Description
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.
Remarks
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
Reference
- Include file
CEdit.inc - Defined in AfxNova/CEdit.inc:772
- Documented in Windows/WIndows Controls/CEdit Class.md
- Topic: CEdit Class