Help Center

CRichEdit.GetZoommethod

Retrieves the current zoom ratio, which is always between 1/64 and 64.

Windowsmethoddocumented

Syntax

FUNCTION GetZoom (BYVAL hRichEdit AS HWND, BYVAL pzNum AS DWORD PTR, BYVAL pzDen AS DWORD PTR) AS LONG

Parameters

NameDescription
hRichEditThe handle of the rich edit control.
pzNumA pointer to a DWORD value that receives the numerator of the zoom ratio.
pzDenA pointer to a DWORD value that 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

Retrieves the current zoom ratio, which is always between 1/64 and 64.

Reference

  • Defined in AfxNova/CRichEdit.inc:782
  • Documented in Windows/WIndows Controls/CRichEdit Class.md
  • Topic: CRichEdit Class