Edit_GetZoom macro (commctrl.h)

Gets the current zoom ratio of an edit control (the zoom ratio is always between 1/64 and 64). You can use this macro or send the EM_GETZOOM message explicitly.

Syntax

void Edit_GetZoom(
         hwndCtl,
  [out]  numerator,
  [out]  denominator
);

Parameters

hwndCtl

A handle to the edit control.

[out] numerator

The numerator of the ratio as a fraction.

[out] denominator

The denominator of the ratio as a fraction.

Return value

None

Requirements

Requirement Value
Minimum supported client Windows 10, version 1809 [desktop apps only]
Minimum supported server Windows Server [desktop apps only]
Target Platform Windows
Header commctrl.h