From: "Phil Krylov" phil@newstar.rinet.ru
Added EM_GETZOOM and EM_SETZOOM RichEdit message handlers.
- case EM_GETZOOM:
- if (!wParam || !lParam)
return FALSE;
- *(int *)wParam = editor->nZoomNumerator;
- *(int *)lParam = editor->nZoomDenominator;
- return TRUE;
I don't know what Windows does, but it may also do:
+ case EM_GETZOOM: + if (wParam) *(int *)wParam = editor->nZoomNumerator; + if (lParam) *(int *)lParam = editor->nZoomDenominator; + return TRUE;
Have you checked?