Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

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(
 HWND hwndCtl,
 [out] LONG numerator,
 [out] LONG 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

Feedback

Was this page helpful?

Additional resources